Changes

Jump to: navigation, search

Conditional Lists of Values

226 bytes added, 26 January
Configuration
To configure this functionality, for each dependent field:
* define Define the field that will condition the dependent values as the "Parent Field".* in 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 Surround the dependent values with the '''ssOption ''' syntax:<pre>&lt;ssOption:Parent Value 1>;Dependent Value 1;Dependent Value 2&lt;/ssOption></pre> 
<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
** ''-- N/A --'' will always be shown,
** ''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=]]
Smartstaff
171
edits

Navigation menu