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.
Configurable List widget and conditional logicAsked by ADXsiri 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
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.
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.
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.
thank you Boris!