Custom Field Type: Lookup - Autocomplete Options

From SmartWiki
Jump to: navigation, search

General Description

Displays as a set of values in an Ajax lookup box.

Field Illustrated

Setting the values for the Lookup - Autocomplete Options, in Custom Field Settings

Lookup - Autocomplete Options, in Edit Mode

Lookup - Autocomplete Options, in Edit Mode with Enable Multiple Select option selected - click on the grey 'x' to remove selection

Lookup - Autocomplete Options, in View Mode

Field Options

All common options:
General Settings
Permissions & Availability
Classic Options
For further information, please refer to Custom Fields – General Information.

Options listed below are specific to this particular field type.

Predefined Options The values you want to be listed within your dropdown list, delimited by semi-colons with no spaces.
  • 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 here for further information.)

External Source Options

  • Enable Lookup From External Source - once a source is selected (the only one available currently is Google Civic Information), you will be able to map external source values to custom Single or Multiple Line text box fields. Note: if there are multiple values in the search result, but you have mapped to a single-line text box custom field, only the first record will be returned.

See Also