I've always thought it was strange that the description for web form components goes under the field and not under the label. Ideally I'd like it to be like below. Would I have to theme this to make it happen or is there an easier way?
Thanks.

<div class="form-item" id="edit-submitted-email-wrapper">
 <label for="edit-submitted-email">email: <span class="form-required" title="This field is required.">*</span></label>
<div class="description">Please check to make sure your email is correct. If you have mistyped your email address we will not be able to respond to you.</div>
 <input maxlength="128" name="submitted[email]" id="edit-submitted-email" size="60" value="" class="form-text required" type="text">
</div>

Comments

quicksketch’s picture

Yes you'd have to theme the form elements to do this. Unfortunately Webform does not have a separate theme function for it's form elements, so this change would have to be side-wide. You can make this change by overridding theme_form_element().

quicksketch’s picture

Status: Active » Closed (fixed)