Page 1 of 1

FormBuilder: Change Textarea size

Posted: Mon May 12, 2008 4:46 pm
by misha
Hello!

I am trying to use formbuild to build many forms, but I have an issue. I cannot change the number of columns in the text fields, so they are too big for my layout. How can I change the size? I tried changing the settings from the configuration of each field, but the col value I set there does not seem to have any effect!

Thanks

Re: FormBuilder: Change Textarea size

Posted: Mon May 12, 2008 4:51 pm
by Ziggywigged
Yes, I noticed the same after latest update as well.

Re: FormBuilder: Change Textarea size

Posted: Mon May 12, 2008 5:10 pm
by leifnicholz
Try adding this code to your stylesheet:

Code: Select all

textarea
{
width:400px;
height:200px;
}
you can change the values of width and height to meet your needs..

Re: FormBuilder: Change Textarea size

Posted: Wed Jul 23, 2008 10:21 am
by [MaGuS]
Hi!

Because of some changes I found that You should add an "empty string" line to modules/FormBuilder/classes/TextAreaField.class.php after line 34.

More exactly: duplicate the line 34...

From this everything will work fine.

Re: FormBuilder: Change Textarea size

Posted: Tue Aug 12, 2008 4:48 pm
by jorge13
Thank you!
the additional empty string line is EXACTLY what i was looking for this whole rainy afternoon....
Jorge