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.


  • Profile Image

    Show and hide drop downs using conditions

    Asked by BodygroupInt on July 30, 2015 at 07:13 AM

    how do i get a dropdown menu lets say 

     

    option 1

    option 2

    and option3

    when an option is selected another dropdown appears with the options available for the main option

     

    eg

    *dropdown*

    colour 

    numbers

    flags

     

    if the user selects colours 

    *dropdown appears*

    red

    green 

    yellow

    or if the user selects numbers

    *dropdown appears*

    1

    2

    3

    4

     

     

     

     

    dropdowns show and hide form fields conditions drop down
  • Profile Image
    JotForm Support

    Answered by Jan on July 30, 2015 at 10:07 AM

    You can do this in JotForm by using conditions. I used the "Show and Hide Form Fields" condition in order to achieve this. Please refer to this guide on how to use smart conditions.

    I created a demo form (http://www.jotform.com/form/52103715255952). Please check it. 

    Here are the steps I did in order to get this working.

    1. I created 4 drop down fields.

    2. I used the condition wherein if the 1st drop down is empty, then all other 3 drop downs will be hidden.

    3. Now, if you select an item in the 1st drop down then the corresponding drop down will appear. The other 2 drop down will remain hidden. The screenshot below shows all the conditions I used.

     

    Hope this helps. Thank you.