The cascading select allows you to display select values which are categorised by the parent value. With the Custom Field Option Synchroniser you can retrieve both the parent and child values from your custom database tables.
This is an simple example which shows how to use the Custom Field Option Synchroniser in combination of the cascading select.
Both tables in this example contain the only necessary columns which are required for the cascading select.
Parentid can be a column directly on the child table or the value can later be retrieved with joins though it normally should be a 1 to m relationship where the foreign key is in the child table. There is no need though to actually define a foreign key.
If there is no connection in the database on the table you need to define a mapping table for the parent-child relationship and join the mapping table in the child query.
Custom field sync configuration
After a sync the custom field which you defined in the sync configuration is populated with the following values.
Each parent has as options only the childen as child values.
Custom Field Option Synchroniser (Custom Field Option Synchroniser)
Cascading Select for CFOS (Custom Field Option Synchroniser)
CFOS Datastructure (Custom Field Option Synchroniser)