Need to hide webform description if it's blank
Saoirse1916 - July 1, 2009 - 19:41
I'm using the Webform module to create a form and all is going well, but it's creating the HTML for the description field even if there is no description (help text) present. Here's what's getting displayed:
<div class="description">
<p/>
</div>The problem is that the "p" tag is throwing up some CSS that I don't need in this case. Is there a way to only print the HTML for the description if the description field has actual data in it?
Thanks!
