Select to view content in your preferred language

How do limit addresses written in a textbox to what is in the autocomplete values?

3146
2
07-16-2015 02:50 PM
ChrisSergent
Deactivated User

We need to verify addresses on a form. I want to use the geocoder widget to enter addresses using the autocomplete, but we do not want to allow the user to enter addresses into the textbox that are not in the list for the autocomplete. How can we do this?

Also, I will need to verify multiple textboxes. I was thinking of a loop, but I haven't seen multiple address locators in any samples or applications developed by others.

Can you have multiple address locators on one web page Kelly Hutchins​?

I was looking at this: Search | API Reference | ArcGIS API for JavaScript

0 Kudos
2 Replies
srinivasamannepalli
Deactivated User

Hi Kelly,

I am new to ArcGIS . I am also looking for multiple address geo coding.

Want to pass multiple  addresses as input array to address locator.

if you have solution please share.

Thanks

0 Kudos
KellyHutchins
Esri Notable Contributor

srinivasa mannepalli‌ you'll want to use the Locator's addressesToLocations method in order to batch geocode addresses. 

Locator | API Reference | ArcGIS API for JavaScript 3.19 

0 Kudos