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.
How to show different results based on which option is chosen.Asked by commercialkings on July 18, 2016 at 11:16 AM
My form gives you the option to select a quantity, and I would like to figure how to show different results after the NEXT button is clicked. For example, if you look at my form, if you select 1 DJ DROP and press next, it goes to the next page, that shows 7 rows of fields to enter details, because you can buy up to 7 different things. But I would like to make it where, if you select a quantity of 1, will take you to a separate page,that only shows input fields for the 1 product you are buying, or if you select a quantity of 2, it takes you to a page, that shows fives you the input fields of only the 2 products you are buying, and not the other 5 or 6 you did not select to buy. How can this be done?
different how how to show quantity next product
You could use conditional logic to show the fields or sets of fields you would like:
It is also possible to use form collapses to show sections of fields:
If a field is conditionally shown, it will be hidden until the condition is met.
Thanks David for your response. It almost was the answer, only problem is, the form conditions wont allow me to hid fields or show fields based on the quantity of items chosen in the options of the Payment Wizard. Basically, if someone goes to my order form, and picks 1 DJ DROP from the payment wizard, I would like it to only show fields for 1 DJ DROP.
Since payment field options cannot be used in conditions, your setup would require setting up your products outside the payment field with regular fields. You would then assign your options calculation values and total up the options, as well as multiplying any product quantities by their cost in a calculation field:
You would then pass that total to your payment field:
With this setup, you would be able to use conditional statements on your products since they would no longer be in the payment field.
The following thread has a similar setup with a longer walk through: