17488 Posts in 4473 Topics by 1978 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1823 Views |
-
Form Field Position

4 June 2008 at 10:01pm Last edited: 4 June 2008 10:01pm
Hi all,
I have two form fields and want to position the fields horizontally instead vertically
which is by default.
Can anyone tell me how to do it?example
form field1 form field2Thanks in advance
Mohan
-
Re: Form Field Position

13 June 2008 at 5:10pm
You can just float the divs / inputs left within CSS. Each Form element has tons of excess code you can tap into!
-
Re: Form Field Position

15 July 2008 at 6:29pm Last edited: 15 July 2008 6:29pm
Alternatively, you can wrap the elements in the FieldGroup object, which doesn't wrap each element with a container div, so the elements fall inline to eachother.
For example:
new FieldGroup(
new TextField('Name'),
new EmailField('Email')
);
| 1823 Views | ||
|
Page:
1
|
Go to Top |



