Created
July 16, 2013 19:39
-
-
Save blainelang/6011931 to your computer and use it in GitHub Desktop.
Hide fieldset around the money field. The money field has an amount and currency field and these are wrapped inside a fieldset with a label which is redundant if your using the money field in a field collection and using the field_collection_table module - as I am for the PI expense form
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Add a theme_wrapper definition so thats it now treated like a standard form element | |
$form['field_DATEFIELDNAME']['und'][0]['#theme_wrappers'] = array('form_element'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment