AnsweredAssumed Answered

How do I list addresses from a locator service only if the address entered is not in the locator service?

Question asked by csergent08 Champion on Jul 30, 2015
Latest reply on Jul 30, 2015 by csergent08

I have an input box that the user enters an address into. I want to then check the locator service and see if the address is in there. If the address is in the locator service, I don't want to do anything, but if the address is not in the locator service, I want the locator service to provide the alternatives as a list. The score for the locator service is already set.


My updated code is here: JS Bin - Collaborative JavaScript Debugging


Right now the code just returns the address that is in the input box. There should be two alternatives.


Any idea why these aren't showing Rene Rubalcava? I copied the code from the sample we worked on.