Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Let’s assume we want the following cascading behavior: 

Country field

 --> State field

 

So when the user choses a country, then the State field should only show states for that selected country.

...

Country Code

Country Name

AU

Australia

etc..

etc..

US

United States

 Country
StateState Name
Country Code

NSW

New South Wales

AU

QLD

Queensland

AU

WA

West Australia

AU

AL

Alabama 

US

AK

Alaska

US

 etc...

etc..

etc...

 

The steps to implement cascading behavior using the above example data and setup is as follows: 

...