Skip to content

Instantly share code, notes, and snippets.

@blainelang
Created July 16, 2013 19:39
Show Gist options
  • Save blainelang/6011931 to your computer and use it in GitHub Desktop.
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
// 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