Changes

Jump to: navigation, search

Custom Field Type: Select One – Combo Box

93 bytes added, 10:02, 31 January 2013
no edit summary
* ''Only present within the [[Universal Tracking Application]]''
These [[Status Field Permissions|fields]] allow you to control by the [[Status]] of the record whether or not the field can be viewed and/or modified.
 
==Referencing the Value==
 
:<font size="3">'''@fieldname.value@''' </font>
:<font size="3">'''@fieldname.combovalue@''' </font>
 
When trying to reference the values of this custom field type, you must use '''@fieldname.value@''' or '''@fieldname.combovalue@''', depending on how the field is setup. Typically, you can use @fieldname.value@ but there is a special case where you must use @fieldname.combovalue@ when the values in the combo box are 1=Yes;2=No;3=Maybe.
 
Using @fieldname.value@ will return the Yes, No, or Maybe. But using @fieldname.combovalue@ will return 1, 2, or 3.
==Notes==
* If '''Allow Empty''' is '''not''' checked, the record '''cannot''' be saved with the default value. In this way you can force the user to select a value different from the default value.
:* '''Important:''' Because the record cannot be saved with the default value, the first item listed in the '''Value''' section should be either a space followed by a semi-colon (if you want the field to start out blank) or an instruction to the user such as ''-----Select One-----; Please choose;'' or similar. You do not want an actual value as the first item, since the record can never be saved with the first value if '''Allow Empty''' is deselected.
 
'''<u>Referencing the Value</u>'''
 
When trying to reference the values of this custom field type, you must use '''@fieldname.value@''' or '''@fieldname.combovalue@''', depending on how the field is setup. Typically, you can use @fieldname.value@ but there is a special case where you must use @fieldname.combovalue@ when the values in the combo box are 1=Yes;2=No;3=Maybe.
 
Using @fieldname.value@ will return the Yes, No, or Maybe. But using @fieldname.combovalue@ will return 1, 2, or 3.
[[Category:Custom Fields]]
Smartstaff
327
edits

Navigation menu