JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
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.
Show multiple fields based on option selected in a spinnerAsked by ab on June 03, 2016 at 12:32 PM
I am trying to create a form in which by using "the spinner" clients can select the quantity of the product to purchase. After that lets say for example they chose 1, then they will have the option to customize that item by using radio buttons. My problem is that the quantity can go from 1 item to 200 items, so I would like to automate the process of creating a new radio button for every item they choose to buy. Please help me to find a viable solution without the tedious work of creating individual logic configurations to each quantity.
This is a re-post of a comment on Smart Forms Using Conditional Logic
If you need to show a set of options conditionally based on the number selected in the spinner, you would indeed need to set up individual conditions. You could show the options in sets:
Though it would still require a condition for each set.
If you'd rather allow the users to add sets of fields directly in the form, you could use a configurable list widget:
This would allow you to create a set of fields that will allow users to add more sets as needed. However, there is no way to show a certain number of sets in the widget based on the value selected in a previous field.