Show states depending on the selected country.

  • fcavalcantegomes
    Asked on June 4, 2016 at 2:30 PM

    Boa tarde.

    quero saber como faço caixa de seleção com condição: por exemplo:

    Se escolher USA no campo País, aparecem nas aba Estado os Estados americanos, mas se eu escolher Brasil, aparecem na aba seguinte os Estados brasileiros

     

    Grato.

  • David JotForm Support Manager
    Replied on June 4, 2016 at 5:49 PM

    There is no need to use conditions, we already have a widget called "All states and cities" that has all countries, states and cities: https://widgets.jotform.com/widget/all_states_and_cities 

    Show states depending on the selected country Screenshot 20

    Please check this guide to learn how to add it to your existing form: https://www.jotform.com/help/252-How-to-Add-a-Widget-to-your-Form 

    Let us know if you need more help, we will be glad to assist you.