<?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 restrict Survey Submission based on Map Data in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/how-to-restrict-survey-submission-based-on-map/m-p/1563165#M60290</link>
    <description>&lt;P&gt;Greyed out, no.&lt;/P&gt;&lt;P&gt;There is a URL parameter that hides the button though:&lt;/P&gt;&lt;P&gt;&lt;A href="https://doc.arcgis.com/en/survey123/get-started/integrate-launchwebapp.htm#GUID-E0F02F12-BCC7-4792-BD49-81F17084C626" target="_self"&gt;Launch the web app&lt;/A&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;&lt;SPAN class=""&gt;hide&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Hides elements of the survey in the web app. The parameter can accept multiple values separated by a comma. Valid values are &lt;SPAN class=""&gt;navbar&lt;/SPAN&gt; (the bar at the top of the survey, including options to sign in, sign out, and change language), &lt;SPAN class=""&gt;header&lt;/SPAN&gt;, &lt;SPAN class=""&gt;description&lt;/SPAN&gt;, &lt;SPAN class=""&gt;footer&lt;/SPAN&gt;, &lt;SPAN class=""&gt;submit&lt;/SPAN&gt;, &lt;SPAN class=""&gt;theme&lt;/SPAN&gt;, and &lt;SPAN class=""&gt;leaveDialog&lt;/SPAN&gt; (the warning message that appears when navigating away from or closing the page). You can also use the &lt;SPAN class=""&gt;field:fieldName&lt;/SPAN&gt; parameter to hide a specific question, group, page, or repeat, by providing the name in place of &lt;SPAN class=""&gt;fieldName&lt;/SPAN&gt;. Questions in repeats cannot be hidden individually.&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;PRE&gt;hide=header,description,footer,theme&lt;/PRE&gt;&lt;/DIV&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;String&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
    <pubDate>Wed, 27 Nov 2024 21:17:25 GMT</pubDate>
    <dc:creator>abureaux</dc:creator>
    <dc:date>2024-11-27T21:17:25Z</dc:date>
    <item>
      <title>How to restrict Survey Submission based on Map Data</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/how-to-restrict-survey-submission-based-on-map/m-p/1562600#M60255</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a hosted feature layer used with the Survey123 app. Users click on dots on the map to open and submit a survey. However, I want to prevent surveys from being submitted for dots that are not eligible. How can I achieve this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Nov 2024 13:24:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/how-to-restrict-survey-submission-based-on-map/m-p/1562600#M60255</guid>
      <dc:creator>aam</dc:creator>
      <dc:date>2024-11-26T13:24:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to restrict Survey Submission based on Map Data</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/how-to-restrict-survey-submission-based-on-map/m-p/1562678#M60262</link>
      <description>&lt;P&gt;You can pull that value into S123 via URL parameters (if not doing so already), and use it in a calculate field. If you dynamically make fields Read_Only = Yes and they are required, form cannot be submitted. I do something similar in a form where I lock users &lt;EM&gt;without&lt;/EM&gt; accounts from collecting from the app directly.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Nov 2024 15:46:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/how-to-restrict-survey-submission-based-on-map/m-p/1562678#M60262</guid>
      <dc:creator>abureaux</dc:creator>
      <dc:date>2024-11-26T15:46:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to restrict Survey Submission based on Map Data</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/how-to-restrict-survey-submission-based-on-map/m-p/1562738#M60265</link>
      <description>&lt;P&gt;I am using Experience Builder and the Survey Widget within that. Aiming for something like this.&lt;/P&gt;&lt;P&gt;&lt;A href="https://experience.arcgis.com/experience/4299aff15d8a47a69a9a352aa5ce3049/page/Page/#data_s=id%3AdataSource_1-185cb2af2f7-layer-7%3A10264" target="_blank"&gt;https://experience.arcgis.com/experience/4299aff15d8a47a69a9a352aa5ce3049/page/Page/#data_s=id%3AdataSource_1-185cb2af2f7-layer-7%3A10264&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I 've configured everything to my liking, except that I want the Survey to be non-submittable if the Road for example is "Not Eligible"&lt;/P&gt;</description>
      <pubDate>Tue, 26 Nov 2024 17:47:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/how-to-restrict-survey-submission-based-on-map/m-p/1562738#M60265</guid>
      <dc:creator>aam</dc:creator>
      <dc:date>2024-11-26T17:47:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to restrict Survey Submission based on Map Data</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/how-to-restrict-survey-submission-based-on-map/m-p/1562751#M60267</link>
      <description>&lt;P&gt;Yep, that is pretty easy. Just pull that "Not Eligible" value into a hidden field.&lt;/P&gt;&lt;P&gt;In this example, I the field ${launch_l_yes} is testing for the word "Link". If the field ${launch_type} = "Link, then the result is "yes". ${launch_l_yes} is used in the &lt;EM&gt;readonly&lt;/EM&gt; column for a bunch of fields.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abureaux_0-1732644995131.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/120452i077027E85EA7CD42/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abureaux_0-1732644995131.png" alt="abureaux_0-1732644995131.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The end result is that when "Link" is detected, all those fields become readonly = yes.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I've attached an example that may work for you.&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Nov 2024 18:24:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/how-to-restrict-survey-submission-based-on-map/m-p/1562751#M60267</guid>
      <dc:creator>abureaux</dc:creator>
      <dc:date>2024-11-26T18:24:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to restrict Survey Submission based on Map Data</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/how-to-restrict-survey-submission-based-on-map/m-p/1563100#M60284</link>
      <description>&lt;P&gt;I did this but unfortunately the Survey still accepts the response and allows submission.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Nov 2024 18:31:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/how-to-restrict-survey-submission-based-on-map/m-p/1563100#M60284</guid>
      <dc:creator>aam</dc:creator>
      <dc:date>2024-11-27T18:31:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to restrict Survey Submission based on Map Data</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/how-to-restrict-survey-submission-based-on-map/m-p/1563147#M60288</link>
      <description>&lt;P&gt;Give this a shot.&lt;/P&gt;&lt;P&gt;EDIT: Just so we're clear, I modelled a few items off the example you sent for the sake of familiarity (since you seem to be aiming for that). The ${my_dropdown} is a &lt;U&gt;placeholder&lt;/U&gt; though, and &lt;EM&gt;not&lt;/EM&gt; something intended to be in the final product.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Nov 2024 20:26:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/how-to-restrict-survey-submission-based-on-map/m-p/1563147#M60288</guid>
      <dc:creator>abureaux</dc:creator>
      <dc:date>2024-11-27T20:26:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to restrict Survey Submission based on Map Data</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/how-to-restrict-survey-submission-based-on-map/m-p/1563164#M60289</link>
      <description>&lt;P&gt;ok this worked. I definitely need to look into these URL parameters, very helpful and cool at the same time.&lt;/P&gt;&lt;P&gt;One more question, this current setup gives the user error if the condition of eligibility is not met. Is it possible to have the Submit Button greyed-out or change the error message to something else?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="aam_0-1732741907402.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/120520i2387849B4AD0E7A0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="aam_0-1732741907402.png" alt="aam_0-1732741907402.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Nov 2024 21:13:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/how-to-restrict-survey-submission-based-on-map/m-p/1563164#M60289</guid>
      <dc:creator>aam</dc:creator>
      <dc:date>2024-11-27T21:13:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to restrict Survey Submission based on Map Data</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/how-to-restrict-survey-submission-based-on-map/m-p/1563165#M60290</link>
      <description>&lt;P&gt;Greyed out, no.&lt;/P&gt;&lt;P&gt;There is a URL parameter that hides the button though:&lt;/P&gt;&lt;P&gt;&lt;A href="https://doc.arcgis.com/en/survey123/get-started/integrate-launchwebapp.htm#GUID-E0F02F12-BCC7-4792-BD49-81F17084C626" target="_self"&gt;Launch the web app&lt;/A&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;&lt;SPAN class=""&gt;hide&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Hides elements of the survey in the web app. The parameter can accept multiple values separated by a comma. Valid values are &lt;SPAN class=""&gt;navbar&lt;/SPAN&gt; (the bar at the top of the survey, including options to sign in, sign out, and change language), &lt;SPAN class=""&gt;header&lt;/SPAN&gt;, &lt;SPAN class=""&gt;description&lt;/SPAN&gt;, &lt;SPAN class=""&gt;footer&lt;/SPAN&gt;, &lt;SPAN class=""&gt;submit&lt;/SPAN&gt;, &lt;SPAN class=""&gt;theme&lt;/SPAN&gt;, and &lt;SPAN class=""&gt;leaveDialog&lt;/SPAN&gt; (the warning message that appears when navigating away from or closing the page). You can also use the &lt;SPAN class=""&gt;field:fieldName&lt;/SPAN&gt; parameter to hide a specific question, group, page, or repeat, by providing the name in place of &lt;SPAN class=""&gt;fieldName&lt;/SPAN&gt;. Questions in repeats cannot be hidden individually.&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;PRE&gt;hide=header,description,footer,theme&lt;/PRE&gt;&lt;/DIV&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;String&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Wed, 27 Nov 2024 21:17:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/how-to-restrict-survey-submission-based-on-map/m-p/1563165#M60290</guid>
      <dc:creator>abureaux</dc:creator>
      <dc:date>2024-11-27T21:17:25Z</dc:date>
    </item>
  </channel>
</rss>

