when i had a form in drupal 6 there was an extra wrapper around a label and field, like <div class="form-item" id="edit-submitted-fieldname-wrapper">. In drupal 7 this is missing! Instead "form-item" class has moved up one level to class="form-item webform-component webform-component-select"
so in effect the double wrapper has been reduced to one and i miss it! how can i get it back?
Comments
Comment #1
quicksketchYou can override theme_webform_element() to add the second wrapper back if you like. It was intentionally removed in D7 (and was only added in D6 because there wasn't any way to add classes to the existing wrappers).