Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
unfortunately the table title is not showing when I have a look at the form.
Best,
Tobias
Comments
Comment #1
roball CreditAttribution: roball commentedCan confirm this bug. Both the Label and Description of a Table element component are not shown, neither in View, nor in Edit mode.
Comment #2
Jelle_SFixed in the latest dev version
Comment #3
roball CreditAttribution: roball commentedThanks for fixing it so quickly. Are you sure the change
is correct? I mean theme() inside theme().
Comment #4
Jelle_SYes,
Have a look at theme_form_element. It is basically a wrapper function to display the title and description. It takes two parameters: $element and $value
In our case The form element's data is the table with its components
Comment #5
roball CreditAttribution: roball commentedExcellent, thank you. Label and Description are now shown on the web page. A small problem is still there, however: the Label is missing in the email being sent on a submission, as part of
%email_values
.Comment #6
attiks CreditAttribution: attiks commentedComment #7
Jelle_SI'm sorry I overlooked it, this was indeed an issue when the mail was sent in plain text, fixed in latest dev
Comment #8
roball CreditAttribution: roball commentedThank you - can confirm that this now works fine in v6.x-1.4+7-dev (2012-May-17).