JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.
Setting up condition to hide fields or skip to a pageAsked by fundcapital on December 06, 2014 at 02:45 PM
Need help with setting conditions in our form. I have set a condition wherein if the one filling out the form is the plaintiff, most fields are hidden. However, if I hide all the stuff from 3rd page, the plaintiff will not be able to go to the last page because there's nothing to click on to continue.
Is there a way to set a 'Skip' condition so that when the plaintiff clicks on Next/Continue in page 2, he/she will skip to page 4. I tried setting this but it is happening from the first page, then to the last.
In that case, don't include the pagebreak into the conditional logic so form users would be able to click next to continue.
Or, you can use Skip to a page conditional logic:
But before doing this, I would advise creating a page for each option in "I am a" field. So this way, you can use skip to page properly without using hide conditional logic because each option has its own page/section to the form.
Then you can set next and back button visibility:
Let us make this simplier.
- What we have is a 4-page form
- There are 3 kinds of people who can fill it out. (Plaintiff, New Attorney, Existing Attorney)
- The Attorneys are required to go through the 4 pages
- The Plaintiff is only required to fill out pages 1,2 and 4
- What should happen is, when plaintiff clicks on Next (in Page 2), he/she should end up in page 4
- If I set a 'Skip' condition, plaintiff clicks Next (in page 1), and then skips straight to page 4
- If I hide all the stuff in page 3 from the plaintiff, he/she will just end up in a blank page 3, hence unable to move forward
- I can show the Next button in page 3 but it doesn't look good.
Let me know.
You can do this with the next condition:
The Name field can be actually replaced with any required field from the second page.
Notice that there are two conditional rules, and the 'All' option is enabled. It means that condition will work when the both rules are matched.
That did the trick! Thank you!