- ADXsiriAsked on December 20, 2016 at 05:50 PM
I have created a configurable list to a form see below for code and link to form. Is there a way of adding logic to the list so for example when you choose 16mm Fireshield in the Plasterboard option is selected only three of the sizes in the next list shows (Size list). So when you have 16 mm Fireshield selected you can only see 1800mm x 1200mm, 2400mm x 1200mm, 2700mm x 1200mm? Ideally I woudl like to apply this logic to all items on the list.
Code currently used for widget
Plasterboard : dropdown : 10mm Recessed Edge, 13mm Recessed Edge, 10mm Spanshield, 10mm Watershield, 13mm Watershield, 13mm Fireshield, 16mm Fireshield, 10mm Opal : Please Select
Size : dropdown : 1800mm x 1200mm, 2400mm x 1200mm, 2700mm x 1200mm, 3000mm x 1200mm, 3600mm x 1200mm, 4200mm x 1200mm, 4800mm x 1200mm, 6000mm x 1200mm, 1800mm x 1350mm, 2400mm x 1350mm, 2700mm x 1350mm, 3000mm x 1350mm, 3600mm x 1350mm, 4200mm x 1350mm, 4800mm x 1350mm, 6000mm x 1350mm : Please Select
QTY: number : Add
Link to form
- JotForm SupportMike_GAnswered on December 20, 2016 at 10:43 PM
I would like to apologize, unfortunately, it is not possible to apply conditional logic to fields within the Configurable List widgets.
Here's a guide about setting up Configurable List widget.
- ADXsiriAnswered on December 20, 2016 at 11:49 PM
Thank you fro your response. Is what I'm trying to achieve possible in the widget? Or is there another widget I could use to get the result I'm after?
I need the add another function for multiple entries.
- BorisAnswered on December 21, 2016 at 02:29 AM
I'm afraid not, conditional logic is not available inside such widgets.
If you wanted to use conditional logic, you would instead need to recreate all those fields as regular form fields, and only then you could use show/hide conditional rules to show or hide your desired product options:
With regular form fields, you would need to create all the fields in advance, so if you expected to receive up to 5 different entries, you would need to create 5 sets of your conditional questions.
Widgets such as Configurable List and Infinite List allow you to collect data for as many rows / entries you would like, but they do not support conditional logic.
Please let us know if there is anything else we can do to help. Thank you.
- ADXsiriAnswered on December 21, 2016 at 11:15 PM
thank you Boris!