Overriding custom form input templates

Topics: Writing themes
Sep 5, 2012 at 1:22 PM
Edited Sep 5, 2012 at 1:25 PM

I've spent the last three hours looking for a way to do something what IMHO should be very simple I need to change (or actually wrap) the output of fields with a container element plus CSS class (due to Bootstrap) for a form created with the Custom Forms module (using a widget).

Is this at all possible in 1.5.1, and if so how?

Thanks...

 

 

Sep 6, 2012 at 4:55 PM

Hi mindcrash,

I can't wait to see other replies. I have had similar thoughts and the closest I have come up with is to utilize widgets - I very seldom have a custom form "page" (i.e. a form with it's own URL). Using Widgets (and Vandely Industries module allowing the injection of a Class Name and/or Id), I have found I am able to get control on the styling (as the widget serves as the wrapper). Be curious to hear of alternatives.

Coordinator
Sep 12, 2012 at 7:17 PM

Did you try to override templates in your theme?