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.
I don't want 'description' text above my form. However the description field is 'required' so I have to type something in there (but it cannot be html - due to input filter restriction on users that will be editing the form), and the description text cannot be hidden with CSS easily because there is no containing div and no class or id to target/select it with.
is there an easy theme function I could hack into my template.php to make a div appear around the description?
If not then I request the option to remove description be somehow given by the webform module in future versions.
Comments
Comment #1
Rowanw CreditAttribution: Rowanw commentedIt might be good idea to backport #215010: 'Description' and 'Confirmation message' fields are required for forms
Comment #2
quicksketchYou could easily duplicate your node.tpl.php to a node-webform.tpl.php and modify it to not print out the description (which is actually the $node->body value I believe).
Comment #3
quicksketchRight, now that #215010: 'Description' and 'Confirmation message' fields are required for forms is present you don't need a body any more. The 1.x version of Webform is now unsupported so this feature will not be backported.