How can I conditionally set the options of a Dropdown Field?

  • Profile Image
    WOWKIDO
    Asked on March 03, 2017 at 09:57 PM

    Product (drop down)
    - Product A
    - Product B

    Model # (drop down)
    - A01
    - A02
    - A03
    - B01
    - B02

    How can I....

    if Product A is selected, show/hide options on Model #
    SHOW A01, A02, A03
    HIDE B01, B02

    if Product B is selected, show/hide options on Model #
    SHOW B01, B02
    HIDE A01, A02, A03

  • Profile Image
    Jim_R
    Answered on March 04, 2017 at 02:31 PM

    You can't conditionally setup the options inside a regular Dropdown Field. What you can use as an alternative is a widget called Dynamic Dropdowns.

    It should allow you to create nested dropdowns just like how you described it.

    e.g.

    IF A THEN SHOW

    A1

    A2

    A3

    IF B THEN SHOW

    B1

    B2

    B3

    ...and so on

    Related guide: How-to-Add-a-Widget-to-your-Form