Pre-defined values are a range of possible values that each instance of a variable might have. They are useful in constructing menus fo choices; and to constrain the values allowed for a variable to a small selection. Pre-defined values are shown as a dropdown menu in the variable detail page
To edit pre-defined values, click the Edit Predefined button. If there are several variables displayed on the detail page, and more than one could have pre-defined values, a radio button under each menu of values shows which one to edit.
|
|
|
On the predefines edit page, you can add, delete and change the order of entries. The label is what is displayed in menus to represent the value. You may leave the Label field empty, as it defaults to the same as value. A value list may contain duplicate values, but not duplicate labels.
If disabled is checked, menu items in dropbox, radio menu and checkbox menu renderings are disabled (cannot be selected). If noselection is checked, menu items in dropbox, radio menu and checkbox menu renderings return the empty string, which causes addedValues to behave as if no value was selected from the menu.
The User interface changes for globals used as label lookup variables, as the requirements are simpler, the valeu is on the left and the label on the right.
|
|
|