<?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: Unselecting a select_multiple value based on selection of another value in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/unselecting-a-select-multiple-value-based-on/m-p/795151#M9278</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks &lt;A href="https://community.esri.com/migrated-users/12477"&gt;Doug Browning&lt;/A&gt;. I couldn't quite get that to work for me very quickly, but I'd probably chalk that up to user error and lack of time on my part. I did end up&amp;nbsp;using a formula from&amp;nbsp;&lt;A href="https://community.esri.com/migrated-users/3263"&gt;James Tedrick&lt;/A&gt;&amp;nbsp;in the&amp;nbsp;comments of&amp;nbsp;&lt;A href="https://community.esri.com/message/717902"&gt;Multiple Choice Constraint - A List of values&lt;/A&gt;&amp;nbsp;and putting it into a nested if statement:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(selected(${Question},'Answer1'), not(selected(${Question},'None')),&amp;nbsp;&lt;SPAN&gt;if(selected(${Question},'Answer2'), not(selected(${Question},'None')),&lt;/SPAN&gt;true))&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This nested if statement goes on and on with 6 possible choices so it's not&amp;nbsp;very elegant, but it&amp;nbsp;gets the&amp;nbsp;job done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It also doesn't actually unselect the 'None' option, but it does prevent the user from selecting "None" in conjunction with the other possible values. Another downside is that it doesn't evaluate the expression until the user submits the form.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would love to hear&amp;nbsp;some better or different ways to do this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Apr 2019 21:54:38 GMT</pubDate>
    <dc:creator>PeterDalrymple</dc:creator>
    <dc:date>2019-04-02T21:54:38Z</dc:date>
    <item>
      <title>Unselecting a select_multiple value based on selection of another value</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/unselecting-a-select-multiple-value-based-on/m-p/795149#M9276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there a way in Survey123 to unselect a select_multiple value based upon the user selecting another value from the same select_multiple question? I have a select_multiple question that defaults to 'None', but I would like 'None' to become unselectable and/or unselected if a user selects any other value from the list. I have tried a number of&amp;nbsp;expressions in the default column, but to no avail. Are there any suggestions as to the best way to achieve this behavior? Is there default column the best place to try to achieve this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/440807_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Mar 2019 17:15:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/unselecting-a-select-multiple-value-based-on/m-p/795149#M9276</guid>
      <dc:creator>PeterDalrymple</dc:creator>
      <dc:date>2019-03-29T17:15:03Z</dc:date>
    </item>
    <item>
      <title>Re: Unselecting a select_multiple value based on selection of another value</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/unselecting-a-select-multiple-value-based-on/m-p/795150#M9277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is a way to count how many choices are picked like count-selected(question).&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How about in the constraint if(selected(None), count-selected(question)&amp;lt;1,1) type of If.&amp;nbsp; So saying if None is selected and there is more than one selection there is an issue.&amp;nbsp; If none is not selected then then 1 just lets it go.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Apr 2019 15:48:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/unselecting-a-select-multiple-value-based-on/m-p/795150#M9277</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2019-04-01T15:48:37Z</dc:date>
    </item>
    <item>
      <title>Re: Unselecting a select_multiple value based on selection of another value</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/unselecting-a-select-multiple-value-based-on/m-p/795151#M9278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks &lt;A href="https://community.esri.com/migrated-users/12477"&gt;Doug Browning&lt;/A&gt;. I couldn't quite get that to work for me very quickly, but I'd probably chalk that up to user error and lack of time on my part. I did end up&amp;nbsp;using a formula from&amp;nbsp;&lt;A href="https://community.esri.com/migrated-users/3263"&gt;James Tedrick&lt;/A&gt;&amp;nbsp;in the&amp;nbsp;comments of&amp;nbsp;&lt;A href="https://community.esri.com/message/717902"&gt;Multiple Choice Constraint - A List of values&lt;/A&gt;&amp;nbsp;and putting it into a nested if statement:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(selected(${Question},'Answer1'), not(selected(${Question},'None')),&amp;nbsp;&lt;SPAN&gt;if(selected(${Question},'Answer2'), not(selected(${Question},'None')),&lt;/SPAN&gt;true))&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This nested if statement goes on and on with 6 possible choices so it's not&amp;nbsp;very elegant, but it&amp;nbsp;gets the&amp;nbsp;job done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It also doesn't actually unselect the 'None' option, but it does prevent the user from selecting "None" in conjunction with the other possible values. Another downside is that it doesn't evaluate the expression until the user submits the form.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would love to hear&amp;nbsp;some better or different ways to do this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Apr 2019 21:54:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/unselecting-a-select-multiple-value-based-on/m-p/795151#M9278</guid>
      <dc:creator>PeterDalrymple</dc:creator>
      <dc:date>2019-04-02T21:54:38Z</dc:date>
    </item>
  </channel>
</rss>

