Difference between revisions of "Stored value"
From SmartWiki
Line 1: | Line 1: | ||
− | If you want the value stored in a [[Custom Field Type: Select One – Combo Box|combo box custom | + | If you want the value stored in a [[Custom Field Type: Select One – Combo Box|combo box custom field]] to be different from what is displayed in the combo box, you can use the following syntax in the ''Values'' section of the custom field settings: |
<pre style="white-space: pre-wrap; | <pre style="white-space: pre-wrap; |
Revision as of 13:04, 30 August 2013
If you want the value stored in a combo box custom field to be different from what is displayed in the combo box, you can use the following syntax in the Values section of the custom field settings:
StoreValue1=DisplayValue1;StoreValue2=DisplayValue2;StoreValue3=DisplayValue3;
- The value before the equals sign, known as the stored value, will be stored.
- The value after the equals sign, known as the display value is what will be displayed in the combo box (or check boxes), but does not get saved.
By default, the stored value is shown when fields are referenced in List Views. Selecting the Show Display Value in List Views option in the custom field settings will display the display value.