Dynamic dropdown based on main dropdown

  • ronak2303
    Asked on May 7, 2017 at 7:26 PM

    Hello  I am trying to Achieve dynamic Drop down based on 1st selection.

    for ex.

    form - https://www.jotform.com/build/71267064685160

    i have crated below scenario.

    to select Fruit or Vegetable ( main selection ) i have create 3 sub drop down to select which fruit / Vegetable. 

    purpose : based on fruit or vegetable selection need to populate other 3 drop down dynamically.

    work around: i have created multiple drop down and using condition to show based on Fruit and Vegetable.

    trying to Achieve : trying to see instead of show / hide, is there a way second drop down becomes dynamically populated so that i dot have to create 6 drop down, instead i can use 3 drop down and can have selection based on fruit / Vegetable.

     

     

  • Kiran Support Team Lead
    Replied on May 7, 2017 at 11:52 PM

    I have checked your JotForm and see that all the three dropdowns are displaying at a time. Do you want them to display one after another after selection? If so, it is only possible by setting up few more show/hide conditions on the form for dropdown fields as shown below: 

    Dynamic dropdown based on main dropdown Image 1 Screenshot 30

    Also, the first condition to display all the dropdowns to be changed to display only the first dropdown to avoid conflict the conflicts as mentioned below:

    Dynamic dropdown based on main dropdown Image 2 Screenshot 41

    Please give it a try and let us know if you need any further assistance. We will be happy to assist. 

  • ronak2303
    Replied on May 8, 2017 at 6:47 AM

    Thx for your reply,

    But what I am typing to achieve is, I want to keep only 3 drop downs which has fruit and vegetables name in it and based on main catagory drop down should have selections in it.

     

  • Ashwin JotForm Support
    Replied on May 8, 2017 at 7:59 AM

    Hello ronak2303,

    Have you checked our "Dynamic Dropdowns" widgets already? I would suggest you to please take a look at our dynamic dropdowns widget and see if it fits into your requirement. It will allow you to create any number of nested child dropdowns.

    Do try it out and get back to us if you have any questions.

    Thank you!