Difference between revisions of "Custom Field Type: Lookup - Autocomplete Options"
From SmartWiki
Line 5: | Line 5: | ||
Displays as a set of values in a [[Ajax]] lookup box. | Displays as a set of values in a [[Ajax]] lookup box. | ||
− | ==Field | + | ==Field Illustrated== |
− | '' | + | [[Image:Cf_alf_ex1.png|link=]]<br /> |
+ | ''Ajax Lookup Field, in Edit Mode'' | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | [[Image: | + | [[Image:Cf_alf_ex2.png|link=]]<br /> |
+ | ''Ajax Lookup Field, in Edit Mode with '''Enable Multiple Select''' option selected - click on the grey 'x' to remove selection''<br /> | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | [[Image:Cf_alf_ex3.png|link=]]<br /> | ||
+ | ''Ajax Lookup Field, in View Mode'' | ||
{{FieldOptions}} | {{FieldOptions}} | ||
+ | * '''Values''': The values to be used within the combo box, delimited by semi-colons with no spaces. | ||
{{ToolTip}} | {{ToolTip}} | ||
{{HideFieldForNewRecord}} | {{HideFieldForNewRecord}} | ||
{{SmartFieldView}} | {{SmartFieldView}} | ||
− | + | ==Special Options for Field== | |
'''Values''': The values to be used within the combo box, delimited by semi-colons with no spaces. | '''Values''': The values to be used within the combo box, delimited by semi-colons with no spaces. | ||
Line 45: | Line 49: | ||
{{Formatting}} | {{Formatting}} | ||
{{CaptionStyle}} | {{CaptionStyle}} | ||
− | {{FieldFormattingOptions}}...and see note on "[[Display_Additional_File_Attributes_for_PDF_Documents#Multiple_File_Fields|Extra Columns]]" below. | + | {{FieldFormattingOptions}}...and see note on "[[Display_Additional_File_Attributes_for_PDF_Documents#Multiple_File_Fields|Extra Columns]]" below. |
− | |||
==Value Storage== | ==Value Storage== | ||
{{ValueStoresTo}} | {{ValueStoresTo}} |
Revision as of 14:12, 26 February 2016
Contents
General Description
Displays as a set of values in a Ajax lookup box.
Field Illustrated
Ajax Lookup Field, in Edit Mode
Ajax Lookup Field, in Edit Mode with Enable Multiple Select option selected - click on the grey 'x' to remove selection
Ajax Lookup Field, 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@ |
- Values: The values to be used within the combo box, delimited by semi-colons with no spaces.
- Tool Tip: When the user hovers their mouse pointer over the caption of a field, the text in this section will appear.
- On New Record: Controls how the field should be displayed until record has been saved once.
- Always Display: Field will be exposed both before and after the record is saved.
- Hide on New Record: Field will be hidden until record is saved.
- Only Show on New Record: Field will be exposed until record is saved, and then it will be hidden. This option is useful for fields that provide instructions for filling out forms before saving.
- SmartField View - Include or exclude this field from SmartField Views (@SmartFields@) or only display this field for SmartField Views. See SmartField View for further details.
Special Options for Field
Values: The values to be used within the combo box, delimited by semi-colons with no spaces.
The first value listed will be the default value when a new record is created.
Note: 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 here for further information.
Options
General Options
- Searchable: This field can be searched within the tracking application.
- Track Changes: Keeps track of changes made to this field.
- Enable Multiple Select: Enables users to select multiple values from the listed values.
- Show Display Value in List Views: By default, the stored value is shown when fields are referenced in List Views. Selecting this option will display the display value.
- Disable Quick Edit: Disables this field from being selectable in Quick Edit on a List View.
Formatting
- Caption Style: Add caption styling by including HTML style tags around @value@
- Field Formatting Options: See the Field Formatting Options Wiki page....and see note on "Extra Columns" below.
Value Storage
- Value Storage: Enables linking two different custom fields to the same user data. See Value Stores To page.
Permissions & Availability Tab
- Visibility Condition: See the Visibility Condition Wiki page.
- Field Permission Matrix: See the Field Permission Matrix Wiki page.
- Role - Field Permissions: These settings allow you to control by Role who is allowed to view and/or modify the field.
- Status - Field Permissions: These settings allow you to control by the Status of the record whether or not the field can be viewed and/or modified. (Only present within the Universal Tracking Application)
- Type - Field Permissions: These settings allow you to control by the template of the record whether or not the field can be viewed and/or modified. (Only present within the Universal Tracking Application)