FormBuilder textarea too wide

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
Ulysses
Forum Members
Forum Members
Posts: 64
Joined: Sat Jan 27, 2007 11:41 pm

FormBuilder textarea too wide

Post by Ulysses »

Spent more than an hour looking for where to change the default textarea cols and rows in FormMail to no avail.  ???

Code: Select all

<textarea name="m4_10" cols="80" rows="15"></textarea>
I need to reduce the cols="80". Whre does this value come from?

Thanks
cnymike
Power Poster
Power Poster
Posts: 446
Joined: Sun Jan 22, 2006 3:24 am

Re: FormBuilder textarea too wide

Post by cnymike »

I'm probably the last person who should be giving suggestions, but maybe it's in the FormBuilder/classes/TextField.class.php file?
Ulysses
Forum Members
Forum Members
Posts: 64
Joined: Sat Jan 27, 2007 11:41 pm

Re: FormBuilder textarea too wide

Post by Ulysses »

Fraid not. There are two instances of "80" in TextField.class.php and neither makes a diffrence to the form. Thanks anyway.
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm
Location: Raalte, the Netherlands

Re: FormBuilder textarea too wide

Post by RonnyK »

Ulysses,

the 80/15 comes by default as that is the way HTML handles it if no specific parameters are given.

In the following post did I post a way to change it:

http://forum.cmsmadesimple.org/index.ph ... l#msg52829

Ronny
Ulysses
Forum Members
Forum Members
Posts: 64
Joined: Sat Jan 27, 2007 11:41 pm

Re: FormBuilder textarea too wide

Post by Ulysses »

Thanks Ronny,

That's very handy. Which particular CSS file should I add it to?
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm
Location: Raalte, the Netherlands

Re: FormBuilder textarea too wide

Post by RonnyK »

I just put the lines on the bottom of the main CSS, but you can also create one called "formbuilder" and attach that one to the templates where it is required. If a module has his own CSS, I'll edit it over there otherwise I add all additional styling in the main-css.

In fact, you can put it in whatever CSS you want, as long as it is attached to the template, as all attached CSS-es are being used.

Ronny
Post Reply

Return to “Modules/Add-Ons”