Hide/Show options in dropdown or single choice element - Conditional logic

  • Profile Image
    Asked on October 22, 2017 at 02:14 PM


    I would like to hide/show options in a dropdown element based on the users choice in a previous field. I couldn't find a way to hide/show individual options but only the whole element. I found on the forum a workaround by injecting css to hide options but I'm looking to find a dynamic solution. 

    Example of concept:

    User picks option a in a single choice. 

    This shows drop-down with the group of options a'


    I realize that a solution is to have multiple drop-downs, but the reason I would like only one is that the drop-down has many logical conditions associated with it's option choices, and having multiple drop-downs would force having lots and lots of copies of if-statements. 

    Any help/input is appreciated. 

    Thanks / Johan

  • Profile Image
    Answered on October 22, 2017 at 02:43 PM

    I am afraid that we cannot show/hide the drop-down options based on a conditional logic.

    It may be possible to show another level of drop-downs based on a selection using a Dynamic Dropdowns widget. You may check it to see if this is something that may be used in your case.

    If you need any further assistance, please let us know.