<?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: Select multiple query - anchoring and exclusive options in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/select-multiple-query-anchoring-and-exclusive/m-p/1329069#M51764</link>
    <description>&lt;P&gt;Not sure on the order thing but on the "none of the above" one there is no way to uncheck boxes that I have ever seen.&amp;nbsp; That is simulating a user click and not something 123 can do.&amp;nbsp; If anyone has seen it I would love to know.&lt;/P&gt;&lt;P&gt;I have a form similar to this and the best I could get was to set a constraint so that if the user picks none of the above then no other options can be filled in.&lt;/P&gt;&lt;P&gt;The constraint looks like this&lt;/P&gt;&lt;P&gt;if(selected(., "&lt;SPAN&gt;none of the above&lt;/SPAN&gt;"), count-selected(.)=1,1)&lt;/P&gt;&lt;P&gt;Hope that helps a little.&lt;/P&gt;</description>
    <pubDate>Fri, 15 Sep 2023 14:07:47 GMT</pubDate>
    <dc:creator>DougBrowning</dc:creator>
    <dc:date>2023-09-15T14:07:47Z</dc:date>
    <item>
      <title>Select multiple query - anchoring and exclusive options</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/select-multiple-query-anchoring-and-exclusive/m-p/1328959#M51755</link>
      <description>&lt;P&gt;Hello, I am working with Survey123 Connect, and I have a query about multiple select functions.&lt;/P&gt;&lt;P&gt;When I randomize the list of choices, is there a way to prevent some of the choices from being randomized and instead always retain the same order? For example, if I have the option "none of the above" I want this option to always display at the bottom of the choice list.&lt;/P&gt;&lt;P&gt;Also, I want this option to be exclusive, so if it is selected, any other option previously selected becomes deselected (or if they chose this option first, the rest of the choices become unable to be selected).&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 15 Sep 2023 01:47:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/select-multiple-query-anchoring-and-exclusive/m-p/1328959#M51755</guid>
      <dc:creator>GarethHeta</dc:creator>
      <dc:date>2023-09-15T01:47:58Z</dc:date>
    </item>
    <item>
      <title>Re: Select multiple query - anchoring and exclusive options</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/select-multiple-query-anchoring-and-exclusive/m-p/1329069#M51764</link>
      <description>&lt;P&gt;Not sure on the order thing but on the "none of the above" one there is no way to uncheck boxes that I have ever seen.&amp;nbsp; That is simulating a user click and not something 123 can do.&amp;nbsp; If anyone has seen it I would love to know.&lt;/P&gt;&lt;P&gt;I have a form similar to this and the best I could get was to set a constraint so that if the user picks none of the above then no other options can be filled in.&lt;/P&gt;&lt;P&gt;The constraint looks like this&lt;/P&gt;&lt;P&gt;if(selected(., "&lt;SPAN&gt;none of the above&lt;/SPAN&gt;"), count-selected(.)=1,1)&lt;/P&gt;&lt;P&gt;Hope that helps a little.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Sep 2023 14:07:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/select-multiple-query-anchoring-and-exclusive/m-p/1329069#M51764</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2023-09-15T14:07:47Z</dc:date>
    </item>
    <item>
      <title>Re: Select multiple query - anchoring and exclusive options</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/select-multiple-query-anchoring-and-exclusive/m-p/1329084#M51768</link>
      <description>&lt;P&gt;Can confirm I also no of no way to deselect items based on a selection.&lt;/P&gt;&lt;P&gt;However, you can use calculates within the survey and IF statements in a Feature Report to simulate this behaviour. Really depends on your end goals. For instance, if they select "None of the above" you could do something like...&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;App:&lt;/STRONG&gt;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;IF(selected(${question1},'none_above'),'None of the above.','')&lt;/LI-CODE&gt;&lt;P&gt;This could be dynamically displayed in place of the normal list when &lt;EM&gt;None of the above&lt;/EM&gt; is selected.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Feature Report:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;In app:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;if(selected(${question1},'none_above','yep','nope')&lt;/LI-CODE&gt;&lt;P&gt;In Report:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;${if question1_none=='nope'}${question1}${/}${if question1_none=='yep'}None of the above.${/}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Another option is a little more restrictive. You can &lt;U&gt;force the end user to deselect the extra items on their own&lt;/U&gt;. I have done this for lists where I had to use some items as "headers" (see below).&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abureaux_0-1694788889128.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/80771i49DC295477CE445F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abureaux_0-1694788889128.png" alt="abureaux_0-1694788889128.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I can't really have users selecting the headers. And while I &lt;EM&gt;do&lt;/EM&gt; have a warning, even if I made it glowing neon and ten times larger font, users still ignore it:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abureaux_1-1694788949088.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/80772i5C2828DFD75E471F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abureaux_1-1694788949088.png" alt="abureaux_1-1694788949088.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I did it via a calculate, and a constraint on the select_multiple.&lt;/P&gt;&lt;P&gt;Separate calculate:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;if((selected(${nm_selection},'nm_inj') or selected(${nm_selection},'nm_ill') or selected(${nm_selection},'nm_dmg')),1,0)&lt;/LI-CODE&gt;&lt;P&gt;Select_Multiple constraint:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;${nm_selection_calc}=0&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 15 Sep 2023 14:43:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/select-multiple-query-anchoring-and-exclusive/m-p/1329084#M51768</guid>
      <dc:creator>abureaux</dc:creator>
      <dc:date>2023-09-15T14:43:50Z</dc:date>
    </item>
    <item>
      <title>Re: Select multiple query - anchoring and exclusive options</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/select-multiple-query-anchoring-and-exclusive/m-p/1329429#M51778</link>
      <description>&lt;P&gt;Thanks so much for your assistance!&lt;/P&gt;</description>
      <pubDate>Sun, 17 Sep 2023 23:16:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/select-multiple-query-anchoring-and-exclusive/m-p/1329429#M51778</guid>
      <dc:creator>GarethHeta</dc:creator>
      <dc:date>2023-09-17T23:16:06Z</dc:date>
    </item>
  </channel>
</rss>

