The Autocomplete field allows you to input options that are searchable as a user types into the field. The field will automatically narrow the search down based on the options you have input, and the user can select an option that is returned.

https://cdn.elev.io/file/uploads/NGPhhY4gCWUeC_gWLbU-FKQnR_YDhuujRWBGtiu0wA0/Kmng4KnDuoaqcAJdFtstbwxGQdPfRNuTo8HNt1sEG6k/autocomplete-bPU.gif

Setup

You can configure this field under the Custom Fields section in the Forms area when setting up your campaign.

Simply input a field label, a placeholder, and then list all of your field options, 1 per line.

If you would like users to be able to select "other" while searching, you can enable this option as well, which will allow them to type in their own answer.

https://cdn.elev.io/file/uploads/NGPhhY4gCWUeC_gWLbU-FKQnR_YDhuujRWBGtiu0wA0/tpDucgjRCDt_0Rwrp13nnJh87jtw6z3NCc5fzUc61c0/Screen Shot 2018-06-04 at 10.46.30 AM-FHQ.png

Pass Field Values

Sometimes you may need to pass a value through with the option a users selects from the autocomplete field.

For example, let's say you have a list of all the countries in the world, and each country has a specific country ID. When a user searches for a country, you just want the country name to appear in their search, you do not want the country ID appearing. However, in the data export, you need to see both the country name and country ID.

To pass through a value with each option, simply add the value before the option, separated with a comma.

https://cdn.elev.io/file/uploads/NGPhhY4gCWUeC_gWLbU-FKQnR_YDhuujRWBGtiu0wA0/Ihyuv8-s5niYdFJnRPbj7O9B2dAQlZJyiQzjoVMRZko/Screen Shot 2018-06-04 at 11.04.06 AM-lds.png

The user will see just the country name when searching:

https://cdn.elev.io/file/uploads/NGPhhY4gCWUeC_gWLbU-FKQnR_YDhuujRWBGtiu0wA0/esAl2quue1oe0XqlzjG3y2m65DFiWb66UMxj5tYcQCc/Screen Shot 2018-06-04 at 11.09.44 AM-SbY.png

However, in the data export we provide, we'll show both the option, and the value.

https://cdn.elev.io/file/uploads/NGPhhY4gCWUeC_gWLbU-FKQnR_YDhuujRWBGtiu0wA0/gVUpnJqns3vWu8Ox4v97L_m4lRPfcljpje9vgaosJcQ/Screen Shot 2018-06-04 at 11.03.19 AM-LJA.png


We're here to help

Still having trouble with our Autocomplete field? Simply click the support or live chat icon to get in touch with us.