Removing field wrapper in a form I would like to theme a form, and the div wrapping my text input element prevents me from doing what i want. So i got this right now : 

&lt;div class="form-item form-type-textfield form-item-email"&gt;
 &lt;input type="text" id="edit-email" name="email" value="mail@msn.com" size="20" maxlength="128" class="form-text required"&gt;
&lt;/div&gt;
&lt;/div&gt;


I would like to have this : 

 &lt;input type="text" id="edit-email" name="email" value="mail@msn.com" size="20" maxlength="128" class="form-text required"&gt;
You can set #theme_wrappers of the element to empty array so the element will not have any wrapper at all.

$form['email']['#theme_wrappers'] = array();