Forums

Non-sequential Multipage form

rrosko 02 Jun, 2010
I'm new with forms in general and I'm tasked with creating a form that DOES NOT follow a linear or sequential path, and that seems to be necessary for the Multi-Page plugin to work correctly.

So, instead of the form starting at page #1 > 2 > 3 > and ending on page #4, I need to start the form on page #1 where the user will select an option from a dropdown field. Depending upon which option is chosen will determine what the second page will be. Regardless of their choice, the form will end after they fill out and submit the second page. There will just be 5 possible second pages.

Any ideas on how I might accomplish this using Chronoforms?

Thanks
GreyHead 02 Jun, 2010
Hi rrosko,

I'd probably build this in a single form using PHP to decide which chunk of the Form HTML to display. (Or possibly a two-page version with the options on the second page.)

Hard to be much more specific without more information about how different the second page versions are.

Bob
rrosko 04 Jun, 2010
Thanks Bob,

The second pages are significantly different, so it wasn't really feasible to condense the form down. Although, I was able to get this form created on a single page by using hidden fields and a little JS. Works like a charm, but I have some fine-tuning to work through.

My challenge now is the email form -

How do I selectively display the hidden div & field that was chosen upon submit, in the email template?

The email form has been generated automatically by the system and I'm fine using that as my base template - I really don't need anything fancy, but I'd rather not display all 5 hidden divs & fields from the form. Only the 1 hidden div & field that was chosen initially.

Could you guide me in the right direction?

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