-
developmenplanAsked on June 4, 2017 at 3:44 AM
hi there...
can u help me , i've form but need your help to solve condition
https://www.jotform.com/build/71541181310443
when input text is : A, dropdown will be only show : number 1 until 5, then when input text is B : dropdown will be only show 6 until 10
thanks for help ^_^
-
Support_Management Jotform SupportReplied on June 4, 2017 at 6:52 AM
You can't conditionally change the options inside a Dropdown Menu. The only alternative you can do is to setup multiple Dropdown fields that will match your Condition.
e.g. Create 1 Dropdown with 1 to 5 and another Dropdown with 6 to 10, then conditionally show one of them depending on the input on the Textbox.
IF Textbox IS EQUAL to A THEN SHOW Dropdown with 1 to 5 fields
IF Textbox IS EQUAL to B THEN SHOW Dropdown with 6 to 10 fields
Since you're working with Dropdown Fields, it may be worth checking this widget too. I don't know what your workflow is but this allows dynamic options inside the dropdown widget: https://widgets.jotform.com/widget/dynamic_dropdowns
Related guide: How-to-Add-a-Widget-to-your-Form
Give both of them a spin and let us know if you'd need more help.