Altering multiple element widget form with '#title_display' property set to "invisible" has no effect.

// "#title_display" property set, but label is still visible.
$form[$multiple_field_name][LANGUAGE_NONE]['#title_display'] = 'invisible';

Seems this takes place because theme function theme_field_multiple_value_form() adds label directly to element, not using form_element_label themization.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

dewalt’s picture

Status: Active » Needs review
FileSize
1.25 KB

I propose the next patch.

Version: 7.34 » 7.x-dev

Core issues are now filed against the dev versions where changes will be made. Document the specific release you are using in your issue comment. More information about choosing a version.