I have created a public use survey utilizing Survey 123 connect. The survey has a field where it asks for the public to start entering their address and select from the drop-down menu. After publishing, the survey works well while using a web browser, but when the link is followed using either an android or iOS smartphone, the autocomplete field does not work.
Any guidance would be greatly appreciated!!
Solved! Go to Solution.
It is a csv. I will go through it again and retry. There are over 8000 possible selections so I may have missed something. However, why would it work using the web and not on a smartphone if it is due to the csv?
It was just an error in the correct selection on the collaborate tab.
What is the source of the autocomplete? If it is a CSV, it may be a malformed/corrupt CSV.
It is a csv. I will go through it again and retry. There are over 8000 possible selections so I may have missed something. However, why would it work using the web and not on a smartphone if it is due to the csv?
It was just an error in the correct selection on the collaborate tab.
The web interface and app are different engines, so you can sometimes get different behaviour in one vs the other when there are errors involved.
As such, you should always go with the most stringent requirements. Esri has a (good) habit of updating their various engines to do what they originally should have been doing, meaning that what works today may not work tomorrow.
Of course, an error in the CSV is just one possibility. Here are two quick tips:
If you are able to upload it here, then I could have a quick look.
I have attached the csv file I am using for the autocomplete appearance. I have gone through each line and cannot find an issue.
The survey address autocomplete works great on the web, but not on a smartphone. The majority of my target population will most likely have smartphones rather than computers. I have looked into using autocomplete along with search() but have not been able to figure that out. I am not sure if that will help with the smartphone issue or not but wanted to give it a try.
Did you sanitize the data, or is this your raw CSV?
If this is your raw CSV (without edits), then you issue is the "name" column. The name column must be unique values. The label column can technically have duplicates, but I wouldn't recommend it because it will confuse the end-user.
It turns out that I had not selected the correct choice in the collaborate tab.
Thanks you all for your advice and insight. It will help me along the way!