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

Rowanw’s picture

quicksketch’s picture

You 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).

quicksketch’s picture

Status: Active » Closed (fixed)

Right, 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.