Token Autocomplete Fied
The Token Autocomplete Fiedcombines the functionality of our AutoComplete field with tokenization which is similar to a multi-select element. As the user types, values are looked up that match the users input and can be selected. Multiple values can be selected.
Additionally, for Enterprise Plus subscribers, the list of values that match can be pulled from any remote API using the same powerful technology that Webhooks, and External Dynamic Data run on. Learn more about using remote data for the Token Autocomplete Field.
After adding a Token Type Ahead field to your form via the Special Fields library, click the Auto Complete Config property to open the wizard where you can configure these lookup settings. You have three choices:
And the Select Distinct Option. Select Distinct, when enabled, will filter the looked up data to remove duplicates based on the value in the Display Field.
Local Data Source
The Local option is recommended if you have fewer than 100 values, and do not need to populate other fields with the data.
- Choose Local and click Next.
- In the Source Data field enter a comma separated list of values. For example daily,weekly,monthly.
- Click Save.
- The default for the Force Selection property in the Field Properties panel is false. This means a user can type some other value instead of the suggested ones. If you want to force a selection from your list, choose true.
- If you force selection, the default error message on this field is "Please select one of the valid options." To change this message, enter it in the Force Selection Message property setting.
Remote Data Source
Use the Remote option if you need to look up data in another table. This option is preferred if you have large amounts of data. This option also allows you to populate other fields.
- Click Remote and click Next.
- Configure the feature using these properties:
Property Details Source Form/Table Click to select the name of the form/table that will be queried for the look up data. Source Field
Select the source field in the selected table that will be queried to find matches. The query is executed based on the value that the user enters in the AutoComplete field. Source Field 2
Optional. Select a second field that will be queried to find matches. The query is executed based on the value entered in the AutoComplete field. Source Field 3 Optional. Select a third field that will be queried to find matches. The query is executed based on the value entered in the AutoComplete field. Display Value
Click to enter one or more wildcard values in this field. For example, [first name] [last name]. This will be displayed in the suggestion list and inserted in the field when selected.
Search Mode
Select either "Starts With" to search based on the starting characters entered, or "Contains" to search for the user typed value anywhere in the source fields. - The default for the Force Selection property in the Field Properties panel is false. This means a user can type some other value instead of the suggested ones. If you want to force a selection from your list, choose true.
- Click Save.
0 Comments