Page 1 of 1

Forms (S/C?)

Posted: Wed 12. Nov 2008, 19:09
by bench1254
To all,

In creating a form, I would like a multiple column layout under a title. Is this what S/C is for? I know if I type in a number it defines the width of the entry line.

But how to add, say; 2 columns at 10 wide?

Thanks

Re: Forms (S/C?)

Posted: Wed 12. Nov 2008, 19:18
by nebenaube
You need to use the form's css class and the css class and/or css style fields on the input type to control position the input elements...

Re: Forms (S/C?)

Posted: Thu 18. Dec 2008, 12:29
by santscho
take a look here: http://www.phpwcms-docu.de/content_part_form.phtml

S/C: for text areas = the number of columns.
M/R: for text areas = the number of rows.
But how to add, say; 2 columns at 10 wide?
That is not possible! columns = wide, rows = height

instead of rows and columns, you can also enter a CSS class for your field and make the definition of the size via CSS. With this format, you can work very exact. The wide and height is independent from browser fonts now.

Just for understanding: "Columns" are not "columns" like in a newspaper. honestly, the official expression for the wide of textfields is a little bit stupid.

Santscho