What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

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.


  • Profile Image

    How to have multiple pages using fewer conditional statements

    Asked by cowebpro on December 05, 2016 at 07: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 :(

  • Profile Image

    Answered by cowebpro on December 05, 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!   

  • Profile Image
    JotForm Support

    Answered by BJoanna on December 06, 2016 at 03: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.

  • Profile Image

    Answered by cowebpro on December 07, 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.

  • Profile Image
    JotForm Support

    Answered by ashwin_d on December 07, 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:

     

    Thank you!