Difference between revisions of "Custom Field Type: Select One - Dropdown List"
From SmartWiki
Line 25: | Line 25: | ||
|- | |- | ||
! style="width: 125px; text-align: left;"|Predefined Options | ! style="width: 125px; text-align: left;"|Predefined Options | ||
− | ||The values you want to be listed | + | ||The values you want to be listed within your dropdown list, delimited by semi-colons with no spaces. |
+ | |- | ||
+ | ||Notes | ||
+ | || | ||
+ | * The first value listed will be the default value when a new record is created. | ||
+ | * If you want the value ''stored'' in the field to be different from what is ''displayed'' in the combo box you can use the following syntax in the '''Values''' section: ''StoreValue1=DisplayValue1;StoreValue2=DisplayValue2;StoreValue3=DisplayValue3; | ||
+ | * The value '''before''' the equal sign will be stored. The value '''after''' the equal sign is what will be displayed in the combo box, but does not get saved. (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.) | ||
+ | |||
|} | |} | ||
{{Display}} | {{Display}} |
Revision as of 14:04, 4 September 2018
Contents
General Description
Displays as a set of values in a dropdown list. The user can select a single value.
Field Illustrated
Setting the values for the Select One - Dropdown List, in Custom Field Settings
Select One - Dropdown List, in Edit Mode
Select One - Dropdown List, in View Mode
Field Options
Option | Description | Format |
---|---|---|
Custom Field ID | The unique ID number associated with the custom field. | Not Applicable |
Field Type | The list of available Field Types. | @fieldtype@ |
Field Name | The name of the field, used internally to reference the user's input; | @fieldname@ |
Caption | The leading question or prologue before the field. | @caption@ |
Display Order | The order (relative to other fields) in which this field is displayed. | @displayorder@ |
Description | Definition and general description of the custom field. Will not be displayed. | @description@ |
Predefined Options | The values you want to be listed within your dropdown list, delimited by semi-colons with no spaces. |
---|---|
Notes |
|
Display
Option | Description | Format |
---|---|---|
Caption Location | Determines the positioning and visibility of the caption relative to the field. Options include: Left of Field, Above Field, No Caption, Hide Caption. Note: this option was previously called Label Display. (See examples here.) | Not Applicable |
Instructions | Text input here displays under the caption. If caption has Hide Caption enabled then any defined instructions will continue to be displayed above the input. | Not Applicable |
Placeholder Text | Text input here displays within the text box as placeholder text that will disappear once the user clicks into the field to enter content. Note: this function is different from Default Text, as Placeholder text will not create content to be stored within the field. | Not Applicable |
Tool Tip | When the user hovers their mouse pointer over the caption of a field, the text in this section will appear. | Not Applicable |
Classify as Personal Data | For use in storing personal data. | Not Applicable |
SmartFields View | Include or exclude this field from SmartField Views (@SmartFields@) or only display this field for SmartField Views. See SmartField View for further details. | Not Applicable |
SmartFields PDF Formatting | PDF formatting option when rendered from SmartFields Views. | @SmartFields@ |
Width | Width of text box. | Not Applicable |
Validation
Option | Description | Format |
---|---|---|
Mandatory | Selecting this option means that this field is required and must be completed. | Not Applicable |
Appear Mandatory | Makes the field appear as though it is a required field. Typically used in conjunction with browser scripts, JavaScript Validation or Submit Logic that perform validation. | Not Applicable |
Custom Validation | - | Not Applicable |
Failed Validation Message | Message displayed if validation fails. | Not Applicable |
Feature Options
Option | Description | Format |
---|---|---|
Track Changes | - | Not Applicable |
Show Display Value in List Views | - | Not Applicable |
Value Storage
Option | Description | Format |
---|---|---|
From Custom Field(s) | - | Not Applicable |
To Custom Field | - | Not Applicable |