<?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: Use constraint on location to prevent default loc from being accepted? in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/use-constraint-on-location-to-prevent-default-loc/m-p/803346#M11388</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jimmy is right in that, if&amp;nbsp;"Required" setting on GeoPoint&amp;nbsp;was working as expected (i.e. user must interact with the map and select any location), then I wouldn't need to apply a constraint to&amp;nbsp;the geopoint question in order to prevent the default, state center location from being accepted.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Aug 2019 17:25:24 GMT</pubDate>
    <dc:creator>TregChristopher</dc:creator>
    <dc:date>2019-08-12T17:25:24Z</dc:date>
    <item>
      <title>Use constraint on location to prevent default loc from being accepted?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/use-constraint-on-location-to-prevent-default-loc/m-p/803337#M11379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have several Survey123 webforms where the default location (under Detailed Map &amp;gt; Home Location in Connect) is set to be the center of Washington state. However, this is really just to center the map on the state to visually indicate to the user that they can specify a location anywhere in the state. Especially in cases where the user submits a wildlife observation back at home on their PC (instead of at the time of obs on their phone), some users have not been entering in the actual observation location and instead just skip to the next question before submitting their report. This geopoint field is required but since there is a default location the form accepts their non-answer. I was wondering if it was possible to set a constraint to prevent this? For example change the default to unrealistically precise (e.g. DD to&amp;nbsp;7 digits to right of decimal) and then use constraint field to not allow this location. If so, how would this formula look in the constraints field for the geopoint?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BTW: I know constraints aren't currently working correctly in webforms (or rather the message around constraints) but it sounds like this initial problem&amp;nbsp;will be resolved with next version at the end of February. (&lt;A href="https://community.esri.com/thread/223993"&gt;Constraint message in Web Form persists during correct answer&lt;/A&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Feb 2019 00:38:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/use-constraint-on-location-to-prevent-default-loc/m-p/803337#M11379</guid>
      <dc:creator>TregChristopher</dc:creator>
      <dc:date>2019-02-05T00:38:46Z</dc:date>
    </item>
    <item>
      <title>Re: Use constraint on location to prevent default loc from being accepted?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/use-constraint-on-location-to-prevent-default-loc/m-p/803338#M11380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Treg,&amp;nbsp; This blog post by &lt;A href="https://community.esri.com/migrated-users/2981"&gt;Michael Kelly&lt;/A&gt;‌ may be of good use for your scenario. &lt;A href="https://community.esri.com/groups/survey123/blog/2017/10/26/limiting-extent-in-which-input-point-can-exist"&gt;https://community.esri.com/groups/survey123/blog/2017/10/26/limiting-extent-in-which-input-point-can-exist&lt;/A&gt;&amp;nbsp; I have not personally tried this in a web form, but I thought I would share&amp;nbsp; in case it gives you some ideas.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Feb 2019 01:49:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/use-constraint-on-location-to-prevent-default-loc/m-p/803338#M11380</guid>
      <dc:creator>IsmaelChivite</dc:creator>
      <dc:date>2019-02-05T01:49:37Z</dc:date>
    </item>
    <item>
      <title>Re: Use constraint on location to prevent default loc from being accepted?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/use-constraint-on-location-to-prevent-default-loc/m-p/803339#M11381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Excellent post by Michael Kelly but for the web version of Survey123 I don't think this will&amp;nbsp;work...unless you're planning on&amp;nbsp;extending the limited pulldata&amp;nbsp;functionality in the web version to geopoint questions soon?&lt;/P&gt;&lt;P&gt;Might there be another workaround that requires the observer to do something with the map control (pan, zoom,etc) in order to show "success" on&amp;nbsp;this required field? Because I'm centering the map in Connect, the default center location is being used to fulfill the "required" condition and the user isn't forced to make changes to this location before submitting.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Feb 2019 20:06:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/use-constraint-on-location-to-prevent-default-loc/m-p/803339#M11381</guid>
      <dc:creator>TregChristopher</dc:creator>
      <dc:date>2019-02-05T20:06:01Z</dc:date>
    </item>
    <item>
      <title>Re: Use constraint on location to prevent default loc from being accepted?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/use-constraint-on-location-to-prevent-default-loc/m-p/803340#M11382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Treg,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The pulldata('@geopoint', ...) function works in the web form. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With regard to requesting the user's location, this was recently added for surveys authored initially in the web designer as part of 3.2 - we will work to make this setting available to forms published from Survey123 Connect.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Feb 2019 22:38:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/use-constraint-on-location-to-prevent-default-loc/m-p/803340#M11382</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2019-02-05T22:38:13Z</dc:date>
    </item>
    <item>
      <title>Re: Use constraint on location to prevent default loc from being accepted?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/use-constraint-on-location-to-prevent-default-loc/m-p/803341#M11383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks James, I'm glad to know that pulldata('@geopoint', ...) function now works in webforms. However, I think I&amp;nbsp;need to wait to implement for two reasons:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;For&amp;nbsp;the &lt;A _jive_internal="true" href="https://community.esri.com/thread/223993-constraint-message-in-web-form-persists-during-correct-answer"&gt;'constraint message' &lt;/A&gt;issue to get resolved at the end of this month.&lt;/LI&gt;&lt;LI&gt;And more importantly, the constraint doesn't seem to work on a hidden field (in the webform version). I just posted about this in &lt;A _jive_internal="true" href="https://community.esri.com/groups/survey123/blog/2017/10/26/limiting-extent-in-which-input-point-can-exist"&gt;Michael's post&lt;/A&gt; , (so sorry for the cross-posting!) &lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Feb 2019 23:56:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/use-constraint-on-location-to-prevent-default-loc/m-p/803341#M11383</guid>
      <dc:creator>TregChristopher</dc:creator>
      <dc:date>2019-02-07T23:56:10Z</dc:date>
    </item>
    <item>
      <title>Re: Use constraint on location to prevent default loc from being accepted?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/use-constraint-on-location-to-prevent-default-loc/m-p/803342#M11384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Update: A workaround for constraining geographic extent in a web form is described at the end of Michael Kelly's post:&lt;A _jive_internal="true" href="https://community.esri.com/groups/survey123/blog/2017/10/26/limiting-extent-in-which-input-point-can-exist"&gt;https://community.esri.com/groups/survey123/blog/2017/10/26/limiting-extent-in-which-input-point-can-exist&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, the workaround uses a Note field rather than a hidden field. While this works well enough to deliver an error message to user after they have selected a location, this is not a very good option for preventing the default location from being used by the user to submit a record because the warning will show right away.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are they any plans by the webform team to allow constraints to fire&amp;nbsp;from a hidden field?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Aug 2019 17:04:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/use-constraint-on-location-to-prevent-default-loc/m-p/803342#M11384</guid>
      <dc:creator>TregChristopher</dc:creator>
      <dc:date>2019-08-08T17:04:03Z</dc:date>
    </item>
    <item>
      <title>Re: Use constraint on location to prevent default loc from being accepted?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/use-constraint-on-location-to-prevent-default-loc/m-p/803343#M11385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Treg,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We initially reviewed whether constraint checking was needed a couple of years ago. &amp;nbsp;At the time, the thinking was that &amp;nbsp;it should be possible to apply the constraint to a visible field. &amp;nbsp;Is there a reason the constraint could not be applied to the geopoint question?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Aug 2019 16:39:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/use-constraint-on-location-to-prevent-default-loc/m-p/803343#M11385</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2019-08-09T16:39:43Z</dc:date>
    </item>
    <item>
      <title>Re: Use constraint on location to prevent default loc from being accepted?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/use-constraint-on-location-to-prevent-default-loc/m-p/803344#M11386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rather than a constraint, I've thought it would work well if the location were null when the form loads. Then the location is not populated until the user sets it. Hopefully, setting the geopoint to required would then force the user to pick a location.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Required doesn't work right now because it always loads a default (bad) location. I've seen this cause lots of problems.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Aug 2019 16:50:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/use-constraint-on-location-to-prevent-default-loc/m-p/803344#M11386</guid>
      <dc:creator>JimmyKroon</dc:creator>
      <dc:date>2019-08-09T16:50:41Z</dc:date>
    </item>
    <item>
      <title>Re: Use constraint on location to prevent default loc from being accepted?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/use-constraint-on-location-to-prevent-default-loc/m-p/803345#M11387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good point James...last year when we were encountering the constraint message issue in webforms, I did try applying the constraint to the geopoint question. I&amp;nbsp;wasn't successful but I didn't put in very much effort either because I was focused on the issue with constraint messages. I'll try this again soon but if you have any available examples (or an Ismael-like blogpost?) of constraining a geopoint, that would be helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Aug 2019 17:16:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/use-constraint-on-location-to-prevent-default-loc/m-p/803345#M11387</guid>
      <dc:creator>TregChristopher</dc:creator>
      <dc:date>2019-08-12T17:16:39Z</dc:date>
    </item>
    <item>
      <title>Re: Use constraint on location to prevent default loc from being accepted?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/use-constraint-on-location-to-prevent-default-loc/m-p/803346#M11388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jimmy is right in that, if&amp;nbsp;"Required" setting on GeoPoint&amp;nbsp;was working as expected (i.e. user must interact with the map and select any location), then I wouldn't need to apply a constraint to&amp;nbsp;the geopoint question in order to prevent the default, state center location from being accepted.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Aug 2019 17:25:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/use-constraint-on-location-to-prevent-default-loc/m-p/803346#M11388</guid>
      <dc:creator>TregChristopher</dc:creator>
      <dc:date>2019-08-12T17:25:24Z</dc:date>
    </item>
  </channel>
</rss>

