0
edits
Changes
Redirected page to Custom Field Type: Select One - Dropdown List
==General Description==Displays as a set of values in a combo box. The [[User|user]] can select a single value. The size of scrolling window is controlled by the '''Height Setting'''. ==Field Display== [[Image:cf_socb_ex1.png]]<br />'' '''Select One - Combo Box''' field, in '''Edit Mode''' (above)''<br /> [[Image:cf_socb_ex2.png]]<br />'' '''Select One - Combo Box''' field, in '''View Mode''' (above)''<br /> [[Image:cf_socb_ex3.png]]<br />'' Setting the values for the '''Select One - Combo Box''' field, in '''General Settings''' (above)''
{{FieldOptions}}
{{ParentField}} * '''Values''': The values to be used for each check box delimited by a semi-colon with no spaces{{ToolTip}}{{HideFieldForNewRecord}}{{SmartFieldView}} {{OptionsTab}}{{AllowEmpty}}
{{AppearMandatory}}
{{Searchable}}
{{TrackChanges}}
{{EnableMultipleSelect}}
{{ShowDisplayValueInListViews}}
{{ShowAsRadioButtons}}
{{ShowDisplayValueInListViewsEnableKML}}{{HideFieldForNewRecordDisableQuickEdit}} {{DisableFromGlobalSearch}} {{Validation}}<u>'''Special Options for Field'''</u>
{{ValueStoresTo}}
{{FieldFormattingOptionsCFPermissionsTab}} ==Configuration Best Practices=={{FieldPermissionsCFComboBoxBP}}
==Referencing the Value==
: <span style="font-size: medium;">'''@''fieldname''@''' </span>
: <span style="font-size: medium;">'''@''fieldname''.combovalue@''' </span>
or
: <span style="font-size: medium;">'''@#''fieldid''#@''' </span>
: <span style="font-size: medium;">'''@#''fieldid''.combovalue#@''' </span>
When trying to reference the values of this custom field type, you must use '''@fieldname@''' or '''@fieldname.combovalue@''', depending on how the field is setup. Typically, you can use @fieldname@ 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@ will return the Yes, No, or Maybe. But using @fieldname.combovalue@ will return 1, 2, or 3.
* The first value listed will be the default value when a new record is created.
* This technique is important when translating to other languages. The '''StoreValue''' must be the same in all languages. See [[Custom Field Language Settings|here]] for further information.
{{AllowEmptyDescription}}
{{RetiredOptions}}
==See Also==