Changes

Conditional Lists of Values

1,514 bytes added, 18:24, 1 May 2014
Created page with "The list of values selectable in a custom field can be made conditional upon the value selected in another custom field. This functionality can be configured on the following ..."
The list of values selectable in a custom field can be made conditional upon the value selected in another custom field. This functionality can be configured on the following [[:Category:Custom Field Types|custom field types]]:
* [[Custom Field Type: Select Many – Check Boxes|Select Many – Check Boxes]]
* [[Custom Field Type: Select Many – List Box|Select Many – List Box]]
* [[Custom Field Type: Select Many – Scrolling Check Box|Select Many – Scrolling Check Box]]
* [[Custom Field Type: Select One – Combo Box|Select One – Combo Box]]

[[Image:Canada-Ontario-Cities.jpg|link=]]

- new option "Parent Field" added for custom field types of combo boxes, radio buttons, and check boxes
- "Parent Field" is to indicate if the options of the combo box/check box field are dependent to the value of another field
- once selected, you can put <ssOption> syntax to indicate what options to show based on what values
eg. --Select One--<ssOption:Canada>;Ontario;British Columbia</ssOption>
- this means, "--Select One--" will always show
- "Ontario" and "British Columbia" will only show if the parent field is "Canada"
another eg: -- N/A --<ssOption:Ontario>;Toronto;Ottawa</ssOption><ssOption:British Columbia>;Vancouver</ssOption>
- "-- N/A --" always show
- "Toronto" and "Ottawa" will show if the parent field is "Ontario"
- "Vancouver" will show if the parent field is "British Columbia"

This supports up to n levels and it does NOT support dynamic control fields

[[Category:Custom Fields]]
8,849
edits