Skipping a section/page in a multi page custom form


#1

Hi Everyone,

I have created a multi page custom form with 5 pages.
Looking for a way to ‘skip’ section/pages of the form based on the user response from questions on page1.

For example:

In page 1 -

Option list question type with two options: Option 1 and Option 2

Selecting Option 1 allows you to move forward to the next page in the form.
Selecting Option 2 allows you to move forward to the page 5 in the form.

Is there any possible solution for this?

Thanks in advance


(Bart Banda) #2

Not easily. It wouldn’t work if some of the fields on those other pages have been marked as required as well.

If they are not, you could potentially add some JS that changes the post variables (should be some hidden input fields in the DOM) to go to page 5 instead of page 2.

Could you maybe just have the content of page 5 on page 2 and just show/hide fields on page 2 based on the answer on page 1?


#3

Hi

Thanks for the reply, In regards to JS to change the post variable and hidden field.

Can you please give a example code.

Thanks,