For example:-
If we select Country, we get options of USA|India|UK
depending on the selection, the name of cities will appear in the second dropdown
If Country == “USA” then option for cities = New York|Chicago|San Francisco
if Country == “India” then option for cities = Delhi|Mumbai|Kolkata
else if Country == “UK” then option for cities = London|Manchester|Newcastle
Hi Droy104,
Hereby a solution for your question;
If you would like to add a default you can simply add for example default: “UK”
{% input custom.choice.country as:select options:"USA|India|UK" %}
{% if custom.choice.country == "USA" %}
{% input custom.choice.city as:select options:"New York|Chicago|San Francisco" %}
{% elsif custom.choice.country == "India" %}
{% input custom.choice.city as:select options:"Delhi|Mumbai|Kolkata" %}
{% elsif custom.choice.country == "UK" %}
{% input custom.choice.city as:select options:"London|Manchester|Newcastle" %}
{% endif %}