Is it possible to create a autocomplete textbox from the results of a web service?

438
3
07-30-2021 03:30 AM
HalilSiddique
Occasional Contributor II

Hi,

I have just started playing around with Survey123. What i would like to do is allow the user input a postal code within a single text box, that postal code is sent to the web api and all the matching records are then shown within a dropdown menu, which they then select the appropriate address. Is this possible in Survey123 version 3.12?

thanks

Tags (2)
0 Kudos
3 Replies
Ruth_JiatengXu
Esri Contributor

Hi @HalilSiddique 

Thanks for sharing here! I think you still need version 3.13 to fulfill the functionality. The 3.13 version is currently available on BETA website: https://survey123beta.arcgis.com/.

If you want to search the postal code in your own feature layer, you can use the search appearance:

 

If you want to search the postal code using a geocoding service, you can see this article for details:

https://earlyadopter.esri.com/project/article/item.html?cap=e69ef91f45744b98882c651f7b518eb7&arttype...

 

Thanks,

Ruth

0 Kudos
AliciaShyu
Occasional Contributor

Hi Ruth,

The links are not working. Could you please update the links?

Thanks,

Alicia

0 Kudos
DougBrowning
MVP Notable Contributor

If you want easy and want it to work offline you could use a CSV files of zip codes instead.   select_one_from_file with autocomplete would work great here.

0 Kudos