How to have multiple pages using fewer conditional statements

  • cowebpro
    Asked on December 5, 2016 at 7:16 PM
     I don't want 5000 conditional statements.  But I have to add pages for multiple people buying lift tickets.  I have everything set on my my one lift ticket order page.  How do I duplicate it based on the value of the "How many people are you purchasing tickets for?".  

    I think I'm stuck :(

  • cowebpro
    Replied on December 5, 2016 at 10:33 PM

    Okay so when I duplicate the first page of the lift ticket order it takes my 50-something conditions and creates 850+ conditions! HALP!   

  • BJoanna
    Replied on December 6, 2016 at 3:19 AM

    I am a bit confused about you working process. Your from has lot of conditions, so I'm not sure which conditions are original conditions from second page of your form. I also noticed that fields on your third page are not conditional. All conditions are appalled for fields form second page. 

    If you want to have exact same conditions on each page of your form then same number of conditions should be applied to each page. For example if one page has 50 conditions 4 pages should have 200. For 20 pages you will need 1000 conditions. However lot of conditions and form field may slow down your form. 

    I would suggest you to clone your form, just to be sure that conditions that you already created are save. Then I would suggest you to revert you original form to previous version with 1 page and 50 conditions. Then duplicate fields and create conditions for fields on second page. Repeat the process for each page. 

    Or you can have only one page and ask you users the bottom of your form if they want to add additional ticket. In case they want, redirect them to same form once they click on submit button.  

    https://www.jotform.com/help/38-Redirecting-Users-to-a-Different-Page 

     

    Let us know if you need further assistance.

  • cowebpro
    Replied on December 7, 2016 at 11:11 AM

    So I have 51 original conditions.  Everytime I duplicate them ONCE it duplicated them 15+ times.  I am having to abandon my form with JotForm and code it in PHP like I should have done in the first place.  All good thank you for all your help.  You have a wonderful app that works brilliantly for less complex forms. Keep up the excellent work.

  • Ashwin JotForm Support
    Replied on December 7, 2016 at 12:20 PM

    Hello cowebpro,

    Do you mean to say that you want to duplicate form fields without the conditions?

    Please note that when you duplicate the form fields, you can choose if you want the conditions to be duplicated or not. Please check the screenshot below:

    How to have multiple pages using fewer conditional statements Image 1 Screenshot 20

     

    Thank you!