API page: https://api.drupal.org/api/drupal/developer%21topics%21forms_api_referen...

the theme function theme_fieldset don't use the "#title_display" attribute. as mentioned in the documentation.

Comments

jhodgdon’s picture

Project: Drupal core » Documentation
Version: 7.x-dev »
Component: documentation » API documentation files
Issue tags: +FAPI reference

That is true. Moving this issue to the documentation project, since that is where the Form API reference document exists.

heddn’s picture

Issue summary: View changes

Is this a doc update or a defect? I'd really like to hide the fieldset title using this functionality and was pretty excited that I could only find out that it doesn't actually work.

jhodgdon’s picture

If you want to hide the title, use a preprocess function and remove #title.

The rest of the options in #title_display do not seem relevant to fieldsets... and at this point in D7, there is nearly zero chance that the code would be changed.

krina.addweb’s picture

Issue summary: View changes