- kantedAsked on November 10, 2017 at 03:37 AM
I have a user contributed checkbox and have conditions to show multiple set of fields depending on selection. when a user selects multiple the form does not show the multiple set of fields. Where as the same functionality works in normal checkbox. Could you pls, reconfirm. You can check my last form if required. I have both type of check box deployed.
- JotForm SupportBJoannaAnswered on November 10, 2017 at 04:16 AM
I User Contributed Checkbox widget on your form and on my cloned form and I saw that the conditions you set will only work of one option from the widget is selected.
This is happening because you are manually entering the value inside of the condition. So when you select only one option, for example, Screen Guard, the value of the widget is 'Screen Guard' and condition that you set will work. However, when you select two options 'Screen Guard' and 'Chiclet' the value of the widget is changed to 'Screen Guard Chiclet' and that value does not correspond to any condition, which means that the conditional field will remain hidden.
To resolve this issue, instead of conditional state 'Is Equal to' you need to use 'Contains'.
I change the conditions on my cloned form. Here is my form: https://form.jotform.com/73132102351944
Feel free to test it and clone it.
Hope this will help. Let us know if you need further assistance.
- kantedAnswered on November 10, 2017 at 05:47 AM
Thanks That did solve. How to write a logic for anything filled in the add option (new checkbox). I need comment field to be displayed
- JotForm SupportKevin_GAnswered on November 10, 2017 at 07:48 AM
Unfortunately, it's not possible to set up conditions based on the input here, this is because the option is still not recorded on the field. Also, you would need to know what your users will enter on such field in order to trigger the conditions.
Currently they can only be set up as shown by my colleague above, they can be set up based on the existing options.