Posted by mapb_1990 on December 14, 2012 at 3:22am
I set up a site in drupal, and needed mostar fields of date type in the same way as other fields. the problem is that the fields of date type, create a fieldset unnecessary.
I'm try the solution Code Karate buts its only change the fieldset to label. see image:
what I wanted was that fields like date, stay equal to the remaining fields. for example, from above.
my code:
<?php
/**
* Remove fieldset from date inputs
*/
function mytheme_date_combo($variables) {
dd($variables);
return theme('form_element', $variables);
}
?>