Using FormBuilder 0.5.11
Seems like I'm doing everything I'm supposed to, but there's no class="myclass" being added to the FormBuilder input element...
I've assigned a value to "CSS Class for this field:" on the Advanced Settings tab for the field.
I'm displaying the input element using:
{$name_last->input}
in the Form Template.
The resulting HTML is:
Shouldn't the result look like:
It's not picking up my CSS styling since there's no CSS class being defined. Am I missing something obvious here?
Thanks in advance!
FormBuilder not assigning CSS class?
Re: FormBuilder not assigning CSS class?
When you add a class to a filed it most times goes to the div around the field not in the value call...
Re: FormBuilder not assigning CSS class?
So the answer, I guess, is to build a around the line:
{$name_last->input}
so it's:
class}">
{$name_last->input}
Got it. Thanks. Just couldn't figure out why the class field was seemingly being ignored.
{$name_last->input}
so it's:
class}">
{$name_last->input}
Got it. Thanks. Just couldn't figure out why the class field was seemingly being ignored.


