<?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 Re: How to validate user submission on a geocode service bound field in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/how-to-validate-user-submission-on-a-geocode/m-p/1168364#M42396</link>
    <description>&lt;P&gt;Thank you &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/251557"&gt;@ZacharySutherby&lt;/a&gt; that works! Actually I have another calculated field in my form to calculate the latitude of the selected address. I use this field != 0 as the constraint.&lt;/P&gt;</description>
    <pubDate>Wed, 27 Apr 2022 15:12:27 GMT</pubDate>
    <dc:creator>HelenZhou</dc:creator>
    <dc:date>2022-04-27T15:12:27Z</dc:date>
    <item>
      <title>How to validate user submission on a geocode service bound field</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/how-to-validate-user-submission-on-a-geocode/m-p/1167576#M42336</link>
      <description>&lt;P&gt;I am using Survey 123 connect (version 3.13.249) to create a survey. One field is a geocode service bound (see screenshot of the row in the excel for Survey 123 Connect below). This is to make sure the user select a valid address from the autocomplete list of addresses. Also, the entry is location based.&lt;/P&gt;&lt;P&gt;But I have found an issue with this field entry. The user is able to input any text in the field and submit the form successfully.&lt;/P&gt;&lt;P&gt;I am wondering - is there a way to validate the user input - making sure the address is selected from the address autocomplete list? This is public survey. From this doc &lt;A href="https://doc.arcgis.com/en/survey123/desktop/create-surveys/pulldatajavascript.htm," target="_blank"&gt;https://doc.arcgis.com/en/survey123/desktop/create-surveys/pulldatajavascript.htm,&lt;/A&gt; JavaScript doesn't work from public survey.&lt;/P&gt;&lt;P&gt;Here is the screenshot of the row in the excel for Survey 123 Connect.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HelenZhou_0-1650902425020.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/39792iAD1A9754A93C8620/image-size/large?v=v2&amp;amp;px=999" role="button" title="HelenZhou_0-1650902425020.png" alt="HelenZhou_0-1650902425020.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HelenZhou_1-1650903292918.png" style="width: 353px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/39793i0F6F89779596CCBF/image-dimensions/353x194?v=v2" width="353" height="194" role="button" title="HelenZhou_1-1650903292918.png" alt="HelenZhou_1-1650903292918.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks so much&lt;/P&gt;</description>
      <pubDate>Mon, 25 Apr 2022 16:16:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/how-to-validate-user-submission-on-a-geocode/m-p/1167576#M42336</guid>
      <dc:creator>HelenZhou</dc:creator>
      <dc:date>2022-04-25T16:16:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to validate user submission on a geocode service bound field</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/how-to-validate-user-submission-on-a-geocode/m-p/1168184#M42392</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/9837"&gt;@HelenZhou&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can set up a calculate question after your address question that calculates the match score based on the address question. If the match score is 100% then an address was selected from the drop down, if it's anything less then the user likely typed an answer. You can then take that calculated value and place a constraint on the address question where the match score needs to be 100%. Please see this &lt;A href="https://community.esri.com/t5/arcgis-survey123-blog/working-with-the-address-question-type-in-the/ba-p/1099211" target="_self"&gt;Esri Community blog&lt;/A&gt; for more information.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The calculation for the match score will be&amp;nbsp;pulldata("@json",${address_question},"attributes.Score")&lt;/P&gt;</description>
      <pubDate>Wed, 27 Apr 2022 00:42:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/how-to-validate-user-submission-on-a-geocode/m-p/1168184#M42392</guid>
      <dc:creator>ZacharySutherby</dc:creator>
      <dc:date>2022-04-27T00:42:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to validate user submission on a geocode service bound field</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/how-to-validate-user-submission-on-a-geocode/m-p/1168364#M42396</link>
      <description>&lt;P&gt;Thank you &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/251557"&gt;@ZacharySutherby&lt;/a&gt; that works! Actually I have another calculated field in my form to calculate the latitude of the selected address. I use this field != 0 as the constraint.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Apr 2022 15:12:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/how-to-validate-user-submission-on-a-geocode/m-p/1168364#M42396</guid>
      <dc:creator>HelenZhou</dc:creator>
      <dc:date>2022-04-27T15:12:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to validate user submission on a geocode service bound field</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/how-to-validate-user-submission-on-a-geocode/m-p/1267828#M47968</link>
      <description>&lt;P&gt;What I am seeing is that the score is pretty much always 100 if using the World Geocoder.&amp;nbsp; Of course you can create a view off of that but must share it publicly for those not logged in to use it.&amp;nbsp; This is not an option for us.&amp;nbsp; Using the world geocoder basically finds a match for anything.&amp;nbsp; There has to be a better way to catch bad addresses?&lt;/P&gt;</description>
      <pubDate>Tue, 14 Mar 2023 22:56:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/how-to-validate-user-submission-on-a-geocode/m-p/1267828#M47968</guid>
      <dc:creator>RobertWeber</dc:creator>
      <dc:date>2023-03-14T22:56:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to validate user submission on a geocode service bound field</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/how-to-validate-user-submission-on-a-geocode/m-p/1606169#M62137</link>
      <description>&lt;P&gt;I'm seeing the same thing here. I type '123' into an address input, hit tab without selecting anything, and it returns 100% accuracy, coordinates for a location in Oslo, and a match address of '0123, Oslo'. I'm not sure how that's a 100% match.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rmcooper_wcpss_0-1744741814014.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/130276i05B207001454A803/image-size/medium?v=v2&amp;amp;px=400" role="button" title="rmcooper_wcpss_0-1744741814014.png" alt="rmcooper_wcpss_0-1744741814014.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Apr 2025 18:31:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/how-to-validate-user-submission-on-a-geocode/m-p/1606169#M62137</guid>
      <dc:creator>rmcooper_wcpss</dc:creator>
      <dc:date>2025-04-15T18:31:34Z</dc:date>
    </item>
  </channel>
</rss>

