Page 1 of 1

formbuilder template code

Posted: Fri Apr 13, 2012 4:46 am
by whiteduck
I am using formbuilder and want to style my form. I have used some field type as static text and just want to change the appearance eg make it bold.

I tried the following code inserted >> I don't know much about coding so I am sure it is probably very wrong. I appreciate any help anyone can offer me.

{if $fields->type == -Static Text}<span class="bold">$fields</span>{/if}

WD

Re: formbuilder template code

Posted: Fri Apr 13, 2012 12:00 pm
by whiteduck
I have resolved this problem in a different way >> using the CSS attached to a field in the advanced options.

WD

Re: formbuilder template code

Posted: Fri Apr 13, 2012 7:21 pm
by Dr.CSS
I do all my styling using CSS for forms, is a place in advanced tab of every field where you can give it a class...

http://forum.cmsmadesimple.org/viewtopi ... =20&t=8694