How to show a widget based on If-Then conditions?

  • SwigCustom
    Asked on March 15, 2018 at 5:04 PM

    Hello,

    I'm wondering if there is any widget or another way to set up dropdown selections as 'if this then that' type things. For example, say they pick the color green, but out of the 5 items normally offered in green we only have 3 options available, so we would only want those 3 options to show up. But then if they change the color to red, it'll show only the options we have available at that time in red. Does that make sense? Thanks!

  • David JotForm Support Manager
    Replied on March 15, 2018 at 5:58 PM

    You could use the Inventory widget, which will keep track of the available items: https://widgets.jotform.com/widget/inventory 

    Then, you can show them based on the selection made on a previous field: https://www.jotform.com/help/316-How-to-Show-or-Hide-Fields-Base-on-User-s-Answer 

    Let us know if you have more questions.