Forms (S/C?)

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
bench1254
Posts: 44
Joined: Tue 3. Oct 2006, 15:13

Forms (S/C?)

Post 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
nebenaube
Posts: 139
Joined: Fri 23. Nov 2007, 20:39
Location: Redlands, CA
Contact:

Re: Forms (S/C?)

Post 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...
User avatar
santscho
Posts: 1442
Joined: Mon 2. Apr 2007, 08:56
Location: Schweiz

Re: Forms (S/C?)

Post 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
Schon Konfuzius sagte: "Sei kein YAML-Lappen". YAML-phpwcms-Integration auf http://www.yaml.phpwcms.org
Post Reply