Forums

Two form fields on one line

momentis 09 Sep, 2011
I am generating my first forms in V4, and I must say it is AMAZING!!! Great work!

I want to know if there is a simple way to get two separate form fields to appear side by side on the same line (or 3 or 4...).

For example, I have a form requesting a visitor's address. I would like the form to look like:

Address
City State Zip

rather than:

Address
City
State
Zip

Is there a quick way to do this in CF? If not, is there a resource (perhaps Bob has written something excellent!) on how to accomplish this?
codeslayer 11 Sep, 2011
Hi momentis,

The wizard automatically generates the basic html code to be used in the forms.
You may find the auto generated code in Forms Manager > Your_Form > under code tab. Notice the field of Form type is set to wizard. Change it to Custom Copy this code and paste it in your dreamweaver or any other html editor. Change the form design as per your requirements and copy/paste it again in HTML code section. Save and check your form in the front-end.
WARNING Changing Form type to custom will not allow to use wizard anymore to edit the form anymore but you will still be able to control form actions.

Regards
CS
momentis 11 Sep, 2011
Thanks for the reply, codeslayer!

I realized, after my post, how stupid a question it was!!! Thanks for the pointer in how to switch to custom.

Rick
This topic is locked and no more replies can be posted.

VPS & Email Hosting 20% discount
hostinger