conditional drop down list

Avatar

Avatar

rohitacmilan

Avatar

rohitacmilan

rohitacmilan

26-12-2009

Hi Experts,

                  I have a requirement of having conditional drop down list - for e.g. there are two drop downs adjacent to each other

country

city - based on the selection for country appropriate state for that country selected from the drop down

for e.g. we have two country China and India

Country  - India China

City - (Mumbai , Delhi (belongs to country India)) and (Beijing, Shanghai (belongs to country China))

So requirement is when user selects India as country from drop down for country he should only get Mumbai and Delhi as drop down value for city and not Shanghai & Beijing

Similarly when he chooses China he should get city drop down values as Shanghai & Beijing and not (Mumbai and Delhi).

Please provide a sample scripting code. Country is bound by dynamic scripting.

View Entire Topic

Avatar

Avatar

NY2CA

Avatar

NY2CA

NY2CA

19-04-2016

Hi Steve,

I will take a look at your file. Without using a DDL, I'm trying to input a zip code into field 1 and have the corresponding city/town auto populate in field 2 using a table.

Example if field 1 is 11747, then field 2 should fill with Melville.

Thanks in advance