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

  • Profile Image
    sbohon
    Asked on April 22, 2019 at 04: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.



  • Profile Image
    BDAVID
    Answered on April 22, 2019 at 06: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.gif

    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.gif

    5) Delete this page:

    1555971884delete_001.png

    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.png

    1555972138skipto_001.png

    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.


  • Profile Image
    sbohon
    Answered on April 23, 2019 at 07:43 PM
    You mentioned that the form will up to 3 memberships. I need the form to take up 50 memberships. Is that possible?
    ...
  • Profile Image
    jherwin
    Answered on April 23, 2019 at 09: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