How to disable dropdown option based on previous selection

  • Profile Image
    blossomlab
    Asked on August 10, 2018 at 11:52 AM

    Hi There, I have a form that allows two colors to be selected, a first choice, and a second choice. These are both shown as dropdown fields. Is there a way to have the second choice be dependent on the first choice so that the color that was previously selected is not available for selection in the second choice dropdown?

    Thanks for your help,

    - Andrew

  • Profile Image
    Vanessa_T
    Answered on August 10, 2018 at 12:25 PM

    If you only have a few options within your dropdown, like the one you have now, I would suggest using the Dynamic Dropdowns widget.

    What you need to do is add all your main color option, then under each main option, you would need to manually add all the other options.

    15339182291.gif

    Dynamic Dropdowns

    How-to-Add-a-Widget-to-Your-Form

  • Profile Image
    blossomlab
    Answered on August 10, 2018 at 02:19 PM

    Hey Vanessa, thank you for this suggestion and demo.

    I've added the dynamic dropdown and it seems to be doing the trick. Looks like we're all set.

    - Andrew