Dependent field attribute types
Dependent fields are attributes whose values are constrained by another field. For example, if you want to have a field that displays all the cities for a selected state, you could make the city field dependent upon the state field. You can make an attribute dependent on another attribute only when you add it to a specific form. That is, when you create a shared attribute, you cannot make it a dependent field when you create it, only within the context of the forms you add it to.
This section presents the city/state example.
First, you need to create the lookup tables for cities and states. Here are the first few rows of these two tables.
The lkup_state table:
The lkup_city table:
Once you have these tables, you create the parent (state) and child (city) attributes.
For the state attribute, use the following values:
For the city attribute, use the following values:
Note the following:
*
*