For example, I have models Country, State, City and User.
Structure of this models:
Country
-- id
-- name
State
-- id
-- name
-- country_id
City
-- id
-- name
-- state_id
User
-- id
-- name
-- city_id
So in user creating form I need to filter city field by choosing first country, then state and etc.
http://www.appelsiini.net/projects/chained - something like that
Last updated