<?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: Auto select all multiple choice questions in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/auto-select-all-multiple-choice-questions/m-p/814107#M14134</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A href="https://community.esri.com/migrated-users/189678"&gt;Jordan Miller&lt;/A&gt;‌,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is likely a simpler way to clean up the calculations, but what I have thought of so far was to add calculate fields that will return users based on the selected department.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example:&amp;nbsp;&lt;/P&gt;&lt;P&gt;if(selected(${department_1},'Engineering ID 1500'),'jim,bob,sally','')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can then use the calculations in the select multiple question.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since there looks like there may be quite a bit of calculations the syntax that I had tested with on the select multiple question was:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;${cal1} or ${cal2} etc.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached your sample XLSForm with a few modification. Although I will continue researching to see if there is a more efficient workflow to simplify the calculations.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Zach&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Sep 2020 21:20:18 GMT</pubDate>
    <dc:creator>ZacharySutherby</dc:creator>
    <dc:date>2020-09-30T21:20:18Z</dc:date>
    <item>
      <title>Auto select all multiple choice questions</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/auto-select-all-multiple-choice-questions/m-p/814106#M14133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How can you tell survey123 to auto select all of the choices for a select_multiple field when a field above&amp;nbsp;is answered? This is based off a choice filter. I'll provide my form below, but I'm trying to build a survey where depending on which office, users will be select automatically. Hoping to use this with inbox so that paperwork goes to a group of people. Please let me know if you can help!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note* I am using the survey 3.11 beta that allows you to use choice filters on select_multiple choices but is there a way to select multiple choices regardless? Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Sep 2020 20:57:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/auto-select-all-multiple-choice-questions/m-p/814106#M14133</guid>
      <dc:creator>JordanMiller4</dc:creator>
      <dc:date>2020-09-30T20:57:15Z</dc:date>
    </item>
    <item>
      <title>Re: Auto select all multiple choice questions</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/auto-select-all-multiple-choice-questions/m-p/814107#M14134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A href="https://community.esri.com/migrated-users/189678"&gt;Jordan Miller&lt;/A&gt;‌,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is likely a simpler way to clean up the calculations, but what I have thought of so far was to add calculate fields that will return users based on the selected department.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example:&amp;nbsp;&lt;/P&gt;&lt;P&gt;if(selected(${department_1},'Engineering ID 1500'),'jim,bob,sally','')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can then use the calculations in the select multiple question.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since there looks like there may be quite a bit of calculations the syntax that I had tested with on the select multiple question was:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;${cal1} or ${cal2} etc.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached your sample XLSForm with a few modification. Although I will continue researching to see if there is a more efficient workflow to simplify the calculations.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Zach&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Sep 2020 21:20:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/auto-select-all-multiple-choice-questions/m-p/814107#M14134</guid>
      <dc:creator>ZacharySutherby</dc:creator>
      <dc:date>2020-09-30T21:20:18Z</dc:date>
    </item>
    <item>
      <title>Re: Auto select all multiple choice questions</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/auto-select-all-multiple-choice-questions/m-p/814108#M14135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is amazing! Do you know if there's a way to setup inbox to read the choices?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know with a single selection we are able to use field=${username} but when you add more like&amp;nbsp; &amp;nbsp;"&lt;SPAN style="color: #ff0000;"&gt;,&lt;/SPAN&gt; person1 &lt;SPAN style="color: #ff0000;"&gt;,&lt;/SPAN&gt; person 2"&lt;/P&gt;&lt;P&gt;it's unable to read.&amp;nbsp;&lt;/P&gt;&lt;P&gt;In ArcMap I've used this&amp;nbsp;WORKORDERID LIKE '%20161008%' becuase it's able to find that string but&lt;/P&gt;&lt;P&gt;LIKE '%&lt;SPAN&gt;${username}&lt;/SPAN&gt;%' doesn't seem to be a valid expression. Any help would be greatly appreciated!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2020 18:17:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/auto-select-all-multiple-choice-questions/m-p/814108#M14135</guid>
      <dc:creator>JordanMiller4</dc:creator>
      <dc:date>2020-10-01T18:17:19Z</dc:date>
    </item>
    <item>
      <title>Re: Auto select all multiple choice questions</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/auto-select-all-multiple-choice-questions/m-p/814109#M14136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A href="https://community.esri.com/migrated-users/189678"&gt;Jordan Miller&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can set the &lt;A href="https://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsforminstancename.htm"&gt;instance name &lt;/A&gt;on the settings sheet in the XLSForm to read from your username question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example the instance name could read:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;concat("Workers: ", ${workers_1}), which will return the string Workers: &amp;lt;choice names from the question&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have an enhancement requesting instance names honoring choice labels in the Inbox and Sent box instead of returning the choice name. The enhancement number is ENH-000126922, I would suggest opening a case with Esri Technical Support to attach your customer number to the enhancement that way you will be notified when further updates are available on the request.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Zach&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2020 21:14:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/auto-select-all-multiple-choice-questions/m-p/814109#M14136</guid>
      <dc:creator>ZacharySutherby</dc:creator>
      <dc:date>2020-10-01T21:14:53Z</dc:date>
    </item>
    <item>
      <title>Re: Auto select all multiple choice questions</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/auto-select-all-multiple-choice-questions/m-p/814110#M14137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A href="https://community.esri.com/migrated-users/189678"&gt;Jordan Miller&lt;/A&gt;‌,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A workaround for the Enhancement would require quite a bit of calculations, but can be done using the jr:choice-name() function.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached a sample XLSForm that calculates a hidden question to be used as the instance name. Since the jr:choice-name() function can only take one input the selected-at() function is needed to grab specific choices from the select multiple question.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;jr:choice-name( selected-at(${workers_1}, 0), '${workers_1}')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once those are defined&amp;nbsp;an if() statement can be used to return varying results from the jr:choice-name() calculations.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(count-selected(${workers_1})=3, concat(${name_0}, "," , ${name_1}, "," , ${name_2}), if(count-selected(${workers_1})=2, concat(${name_0}, "," ,${name_1}), ${name_0} ))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This sample says if there are three selections in the select multiple return all jr:choice-name() calculation fields, otherwise if two are selected return those two labels, otherwise return only the first selection (assuming that only one choice has been selected) or nothing.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Zach&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Oct 2020 15:29:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/auto-select-all-multiple-choice-questions/m-p/814110#M14137</guid>
      <dc:creator>ZacharySutherby</dc:creator>
      <dc:date>2020-10-02T15:29:27Z</dc:date>
    </item>
    <item>
      <title>Re: Auto select all multiple choice questions</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/auto-select-all-multiple-choice-questions/m-p/1099285#M37243</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/251557"&gt;@ZacharySutherby&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Im intrigued, what does the&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;${calwork} or ${calwork2}&lt;/STRONG&gt;&lt;/EM&gt; calculation do?&lt;/P&gt;&lt;P&gt;I would have assumed "or" returns either True or False but seems it works more like coalesce in this instance?&lt;/P&gt;&lt;P&gt;Since when does an "or" calculation return a string 🤷‍:male_sign:&lt;/img&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Sep 2021 07:08:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/auto-select-all-multiple-choice-questions/m-p/1099285#M37243</guid>
      <dc:creator>DeonLengton</dc:creator>
      <dc:date>2021-09-17T07:08:13Z</dc:date>
    </item>
    <item>
      <title>Re: Auto select all multiple choice questions</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/auto-select-all-multiple-choice-questions/m-p/1266457#M47897</link>
      <description>&lt;P&gt;This solution works for me but I have a lot of duplicate choices.&amp;nbsp; Also, I have would have to write 74 different calculate rows.&amp;nbsp; Highlighted in yellow is the same information.&amp;nbsp; As you can see in blue the same answer can be used for 3 different selections.&amp;nbsp; Can Y802, Y812, and Y822 be combined to all relate to 3174? Currently if you selected all three of those gangs then 3174 shows up three times.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SeanWalsh_0-1678462992871.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/64911iBF97BA1E56E4D0F6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SeanWalsh_0-1678462992871.png" alt="SeanWalsh_0-1678462992871.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Mar 2023 15:45:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/auto-select-all-multiple-choice-questions/m-p/1266457#M47897</guid>
      <dc:creator>SeanWalsh</dc:creator>
      <dc:date>2023-03-10T15:45:43Z</dc:date>
    </item>
    <item>
      <title>Re: Auto select all multiple choice questions</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/auto-select-all-multiple-choice-questions/m-p/1274483#M48368</link>
      <description>&lt;P&gt;Thanks for posting this idea&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/251557"&gt;@ZacharySutherby&lt;/a&gt;. I found it helpful.&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/186941"&gt;@DeonLengton&lt;/a&gt;&amp;nbsp;- I found ${calwork} or ${calwork2} did not work, but &lt;STRONG&gt;concat(${calwork},",",${calwork})&lt;/STRONG&gt; did.&amp;nbsp;&lt;/P&gt;&lt;P&gt;It looks like the point is to pass the multi-select a string. Even if either of the calworks were "", the multi-select was populated correctly.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Apr 2023 02:42:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/auto-select-all-multiple-choice-questions/m-p/1274483#M48368</guid>
      <dc:creator>JJ_Reyes</dc:creator>
      <dc:date>2023-04-03T02:42:58Z</dc:date>
    </item>
    <item>
      <title>Re: Auto select all multiple choice questions</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/auto-select-all-multiple-choice-questions/m-p/1609267#M62248</link>
      <description>&lt;P&gt;This is late, but you can make things appear under multiple options by using a comma-separated list, and that reduces duplicate lines&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AlfredBaldenweck_0-1745596543250.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/130976i4227C0B3B8FB679A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AlfredBaldenweck_0-1745596543250.png" alt="AlfredBaldenweck_0-1745596543250.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Apr 2025 15:55:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/auto-select-all-multiple-choice-questions/m-p/1609267#M62248</guid>
      <dc:creator>AlfredBaldenweck</dc:creator>
      <dc:date>2025-04-25T15:55:48Z</dc:date>
    </item>
  </channel>
</rss>

