Show multiple fields based on option selected in a spinner

  • Profile Image
    Asked 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: Conditional Logic for Online Forms

  • Profile Image
    Answered on June 03, 2016 at 12:51 PM

    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.