How to create conditions to show or skip pages based on user's answers.

  • sbohon
    Asked on April 22, 2019 at 4:55 PM

    I have a form set up that ask if the user would like to add another membership.  If they choose yes, it takes them back to page 2 to begin the application again.  Is there a way to clear the fields?  As is, when it goes back to page 2 all of the data entered from the first membership is still there.  


    I need the user to be able to complete up to 50 individual applications and pay one time at the end of the form.



  • David JotForm Support Manager
    Replied on April 22, 2019 at 6:33 PM

    We will be glad to assist you. Please note that jumping back to the same page will note create a new entry or collect new data. If you clear the data you first filled, you will only keep the last entry you entered.

    What you need to do is the following:

    1) Select all fields from page 2(ctrl+left click).

    2) Click on the Duplicate button.

    3) Select after which field they will be positioned, which should be after the pagebreak:

    1555971533clonefields Screenshot 10

    In my example, I did it twice, because the form will take up to 3 memberships.

    4) Add a question at the end of each of those pages to ask if the user wants to add another member, example:

    1555971733addquestion Screenshot 21

    5) Delete this page:

    1555971884delete 001 Screenshot 32

    6) Now create conditions to skip or show those pages based on the answer: https://www.jotform.com/help/350-How-to-Skip-Pages-Using-Conditional-Logic

    1555972124skipto Screenshot 43

    1555972138skipto 001 Screenshot 54

    See how it works on this clone version: https://form.jotform.com/91117154078960

    You may clone it to inspect it if you want to: https://www.jotform.com/help/42-How-to-Clone-an-Existing-Form-from-a-URL

    Let us know if you need more help.


  • sbohon
    Replied on April 23, 2019 at 7:43 PM
    You mentioned that the form will up to 3 memberships. I need the form to take up 50 memberships. Is that possible?
    ...
  • jherwin
    Replied on April 23, 2019 at 9:45 PM

    I think it's better if you use configurable list widget, please see my demo form below.

    Demo form: https://form.jotform.com/91127983957977

    Please check and see if that will meet your requirement. I used the configurable list widget to list the fields, that widget has the option to add multiple answers.

    Related Guide: How-to-Set-Up-the-Configurable-List-Widget

    You can also clone the form to know how it was done.

    Guide: How-to-Clone-an-Existing-Form-from-a-URL