- commercialkingsAsked 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?
- JotForm SupportdavidAnswered on July 18, 2016 at 12:49 PM
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.
- commercialkingsAnswered on July 18, 2016 at 02:10 PM
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.
- JotForm SupportdavidAnswered on July 18, 2016 at 02:22 PM
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: