Page 1 of 1

how to add class to text fields into form builder template

Posted: Fri Aug 22, 2014 10:55 pm
by lazut
hi
I could't find a way to add class to text fields in html form by using form builder module. Form builder module version is 0.7.

Code: Select all

<input type="text" name="cntnt01fbrp__90" value="" size="25" maxlength="128" id="Field Alias and DOM id (CSS id)">
I found an example with class in this page http://bootstrap.cmsmadesimple-themes.c ... ilder.html I looked at the code

Code: Select all

<input type="text" class="cms_textfield" name="m50d18fbrp__10" id="m50d18fbrp__10" value="" size="25" maxlength="128">
but I don't know where does this class come . I see in the form template <label> element but I cant find <input type=text ...> element.

Do I have to change php files of from builder to add class .
I am trying to create responsive form so I have to add class to elements

Thanks for reply

Re: how to add class to text fields into form builder templa

Posted: Fri Aug 22, 2014 10:59 pm
by Jo Morg
Asked and answered too many times: please use the search function of the forum!
Check this for instance: http://forum.cmsmadesimple.org/viewtopi ... =7&t=70999