<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How do I use find AddressCandidates to validate a form and then provide a list of valid values? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-use-find-addresscandidates-to-validate-a/m-p/685552#M63812</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like to check addresses that the user enters on a form against AddressCandidates using our WebAddressLocator: &lt;A href="http://maps.decaturil.gov/arcgis/rest/services/Public/WebAddressLocator/GeocodeServer" title="http://maps.decaturil.gov/arcgis/rest/services/Public/WebAddressLocator/GeocodeServer"&gt;Public/WebAddressLocator (GeocodeServer)&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want the Locator Service to run when the user exits the field.&lt;/P&gt;&lt;P&gt;Once the Locator Service runs, I want to check if the address is found using the Locator Service. If it is not found, I want to display a pop-up with the addresses that are similar and allow the user to select from that list. How would I do that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I looked at the API Reference at: &lt;A href="https://developers.arcgis.com/javascript/jsapi/addresscandidate-amd.html" title="https://developers.arcgis.com/javascript/jsapi/addresscandidate-amd.html"&gt;AddressCandidate | API Reference | ArcGIS API for JavaScript&lt;/A&gt;&amp;nbsp; but there are no samples in the samples link for me look at.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I uploaded my code for this project. It will not e-mail as the user name and password were removed from the web.config, but everything else is there. It's .NET, but that should not affect what I am trying to do. The page that I am trying to validate addresses in is registration.aspx&amp;nbsp; and I will need to validate up to 31 addresses against our Web Locator Service.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, basically I need to continue to use this code for each address in each textbox entered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My code is here: &lt;A href="https://github.com/csergent45/codeViolationNotice" title="https://github.com/csergent45/codeViolationNotice"&gt;csergent45/codeViolationNotice · GitHub&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I haven't written&amp;nbsp; any code yet for the address candidates, as I really don't know where to start with this one. But I will have an update with the JS API references in my code as soon as possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been asked to have this ready by the end of the day, so if you would embrace my crisis as your crisis I would greatly appreciate it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Jul 2015 14:10:35 GMT</pubDate>
    <dc:creator>ChrisSergent</dc:creator>
    <dc:date>2015-07-17T14:10:35Z</dc:date>
    <item>
      <title>How do I use find AddressCandidates to validate a form and then provide a list of valid values?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-use-find-addresscandidates-to-validate-a/m-p/685552#M63812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like to check addresses that the user enters on a form against AddressCandidates using our WebAddressLocator: &lt;A href="http://maps.decaturil.gov/arcgis/rest/services/Public/WebAddressLocator/GeocodeServer" title="http://maps.decaturil.gov/arcgis/rest/services/Public/WebAddressLocator/GeocodeServer"&gt;Public/WebAddressLocator (GeocodeServer)&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want the Locator Service to run when the user exits the field.&lt;/P&gt;&lt;P&gt;Once the Locator Service runs, I want to check if the address is found using the Locator Service. If it is not found, I want to display a pop-up with the addresses that are similar and allow the user to select from that list. How would I do that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I looked at the API Reference at: &lt;A href="https://developers.arcgis.com/javascript/jsapi/addresscandidate-amd.html" title="https://developers.arcgis.com/javascript/jsapi/addresscandidate-amd.html"&gt;AddressCandidate | API Reference | ArcGIS API for JavaScript&lt;/A&gt;&amp;nbsp; but there are no samples in the samples link for me look at.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I uploaded my code for this project. It will not e-mail as the user name and password were removed from the web.config, but everything else is there. It's .NET, but that should not affect what I am trying to do. The page that I am trying to validate addresses in is registration.aspx&amp;nbsp; and I will need to validate up to 31 addresses against our Web Locator Service.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, basically I need to continue to use this code for each address in each textbox entered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My code is here: &lt;A href="https://github.com/csergent45/codeViolationNotice" title="https://github.com/csergent45/codeViolationNotice"&gt;csergent45/codeViolationNotice · GitHub&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I haven't written&amp;nbsp; any code yet for the address candidates, as I really don't know where to start with this one. But I will have an update with the JS API references in my code as soon as possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been asked to have this ready by the end of the day, so if you would embrace my crisis as your crisis I would greatly appreciate it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jul 2015 14:10:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-use-find-addresscandidates-to-validate-a/m-p/685552#M63812</guid>
      <dc:creator>ChrisSergent</dc:creator>
      <dc:date>2015-07-17T14:10:35Z</dc:date>
    </item>
  </channel>
</rss>

