Changes

Jump to: navigation, search

Conditional Lists of Values

55 bytes added, 26 January
no edit summary
* In the settings page of the "Child Field", there's a drop down field called "Parent Field" - this must be populated with the "Parent Field" being referenced.
* Surround the dependent values with the '''ssOption''' syntax:
 
<pre>&lt;ssOption:Parent Value 1>;Dependent Value 1;Dependent Value 2&lt;/ssOption></pre>
 
In the configuration shown below:
** ''Ontario'' and ''British Columbia'' will only be shown if ''Canada'' is selected in the ''Country'' field, and
** ''Texas'' will only be shown if ''United States'' is selected in the ''Country'' field.
 <pre>-Select One-<ssOption:Canada>;Ontario;British Columbia</ssOption><ssOption:United States>;Texas</ssOption></pre>
* In the ''City'' field
** ''Toronto'' and ''Ottawa'' will only be shown if ''Ontario'' is selected in the ''Province'' field, and
** ''Vancouver'' will only be shown if ''British Columbia'' is selected in the ''Province'' field.
 <pre>--N/A--<ssOption:Ontario>;Toronto;Ottawa</ssOption><ssOption:British Columbia>;Vancouver</ssOption></pre>
[[Image:Conditional Lists - Combined.jpg|link=]]
==See Also==
* [[Custom Field Type: Select Many – Check Boxes|Select Many – Check Boxes]]
* [[Custom Field Type: Select One - Dropdown List]]
* [[Show/Hide Header]]
* [[Custom Field Type: Dynamic Data – Dynamic Control Field|Dynamic Control fields]]
* [[Custom Lookup Options|Custom Lookup Options]]
[[Category:Custom Fields]]
Smartstaff
171
edits

Navigation menu