- NolasolAsked on November 22, 2014 at 08:11 AM
I need help to solve my problem with skipping pages depending on a previous selection of user.
I found discussions on this forum about this trouble but their solutions are not solutions for me.
Here is a simple example:
I have a 6-page form.
Question: Yes or no? (Dropdown with 2 options: YES, NO)
NEXT button without condition
Questions, fields for everybody
NEXT button: if the answer on 1st page is YES, then go to 3rd page, else go to 4th page
NEXT button without condition
NEXT button: if the answer on first page is YES, then go to 6th page, else go to 5th page
NEXT button without condition
If I'd set up 'skip page and jump to 3rd page if answer is YES on the first page', then pressing NEXT button on first page would cause jumping to 3rd one, instead of 2nd one... It's a malfunction for me...
Moreover, how can I set up a same condition, 'skip page and jump to 6th page if answer is YES on the first page' for the NEXT button only on the 4th page?
The condition is same (answer is YES on the 1st page), but jumping target is different on 2nd and 4th pages...
Maybe I'm too difficult :-) I hope not...
Can anybody help me with a working solution?
- JotForm SupportEltonCrisAnswered on November 22, 2014 at 03:11 PM
Yes that's possible. Check this demo: http://form.jotformpro.com/form/43255416542957?
You can clone this form to your account so you can figure out the setup.
The main part in order to get it working is to add "Form Calculation" widget to the page you want to apply skip conditions (e.g. on your example, Page 2 and Page 4). Form calculation can be found under Widgets.
When you add it to your form, a calculation wizard will appear. Here's how to copy the value from the first field on the first page to the calculation field.
After that, use the calculation fields with skip to page conditions. You can check the existing conditions when you clone my sample form. The calculation fields on my sample form are shown on the live form for illustrative purposes but you can hide it if you want to (Right click the field then select Hide field).
If you need further clarifications about this, let us know here.
- NolasolAnswered on November 23, 2014 at 06:15 AM
(I'm writing this message second time, JotForm said 'You are logout' and message lost, but in Forum I see this post has got 2 replies, but I see only yours :-) So maybe my message will appear double later, sorry :-) )
I have to say thanks to you and all member of JotForm's Team for the really great supporting!
Thanks for your message also, but I think so it's not really a solution for me.
The different between your template and my form is you created more questions and set up skipping conditions depends on these answers.
My form would have got only ONE question (ie. on first page), and I need to skip more pages (ie. 3., 5., 8. etc.) depends on this one answer.
I wouldn't like to place same question and ask same answer into different fields to make possible conditions related different fields. I'd like to use this only one answer and make conditions for skipping different pages of the form.
Maybe I'm too beginner in JotForm's system and can't see the solution in your template, so I need to ask you help me with a step-by-step list :-))
The main focus is on skipping different pages depends on ONE answer, given on some previous page... :-))
- BenAnswered on November 23, 2014 at 07:07 AM
It can be done, but it is much easier if we know what fields are going to be used.
Once you place the fields that you would use it would be easy to make the required matching and set the proper page 'redirects'.
You can see it working here: http://form.jotformpro.com/form/43263139647964
If you decide to clone it to your account, you can follow this guide to see how: How to Clone an Existing Form from a URL
I have changed the Form Calculations into regular text boxes, but anything can be used as long as it provides different results - the fields across different pages do not hold the same value.
These are conditions - as you can see we are using several points to know on what page we should go where.
Do let us know if you have any further questions.
- NolasolAnswered on November 23, 2014 at 07:21 AM
the 'problem' is you are also using more Conditional Fields (P2, P4) and one answer for condition set up if it is yes or no.
My example is :-))
Main Question: YES or NO
If Main Question is YES, then next page is 4, else 5
If Main Question is YES, then next page is 6, else 8
If Main Question is YES, then next page is 9
If Main Question is YES, then next page is 11 else 10
and so on... :-)
I need only one answer (here is named as Main Question), and later I'd like to set up jumping in several pages to other pages depends on this one answer is YES or NO.
I don't need Question Two or more, only this one.
I think I'm amateur and I hope you won't drop my messages :-)))
- JotForm SupportJanAnswered on November 23, 2014 at 09:40 AM
I believed this what you are trying to achieve?
Please try to check this form that I created. (http://support.jotform.com/form/43263879532968)
There are 11 pages:1 for the main question, 5 for YES and 5 for NO.
In this form, there are 2 conditions.
If user answered YES, it will go first to Page 2 then to Page 3 > Page 4 > Page 5 > Page 6
If user answered NO, it will go first to Page 7 then to Page 8 > Page 9 > Page 10 > Page 11
*** If you press next on a page, it will go to next corresponding page. For example, if you're on page 2 and you press next, it will go to page 3 so on.
At the 5th question, there will be a submit button. You can hide the next button by clicking the "Next Visibility" button and choose "Hidden".
Hope this helps. Let us know if you need further help. Thank you.
- NolasolAnswered on November 23, 2014 at 09:51 AM
not, this is not my situation.
I try to show it in other way...
The MAIN QUESTION is on first page, it's OK, and available answers are YES or NO.
Then, pages will be in 'show' status as below:
PAGE 2: for everybody (regardless of the MAIN QUESTION)
PAGE 3: only for users who answered YES to MAIN QUESTION
PAGE 4: for everybody (regardless of the MAIN QUESTION)
PAGE 5: for everybody (regardless of the MAIN QUESTION)
PAGE 6: only for users who answered YES to MAIN QUESTION
PAGE 7: only for users who answered YES to MAIN QUESTION
PAGE 8: for everybody (regardless of the MAIN QUESTION)
PAGE 9: only for users who answered YES to MAIN QUESTION
PAGE 10: for everybody (regardless of the MAIN QUESTION)
and so on...
In your example, dependly on answer to MAIN QUESTION you'd skip a 'block of pages' in one time.
In my own situation I need to skip some pages and keep to show other pages, in not a consecutive order.
In my example, if the MAIN QUESTION is NO, then pages 3, 6, 7 and 9 is hidden (skipped), all of other pages are visible. If the answer is YES, then all of pages are visible.
Sorry if I would be inaccurate, my English is not perfect :-)
- ShadaeAnswered on November 23, 2014 at 12:05 PM
There is no option that would allow you to skip various pages in random order when using the page break option.
One option that you can use it to hide all the questions on that page and display a message asking your user to move to the next page.
Here is the sample form: http://support.jotform.com/form/43264870927968
There however is a better option, which would be instead of using Page Breaks, you would use our form collapse feature.
Here is a sample form using the form collapse options: http://www.jotform.com/form/43264788916974
I hope this is a suitable option. Please inform us if you need further assistance.