<?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: Constraint on select_multiple answers in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/constraint-on-select-multiple-answers/m-p/809791#M13034</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nicole&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Great idea for the constraint. A similar query came up &lt;A _jive_internal="true" href="https://community.esri.com/thread/226458-another-value-na-in-select-multiple#comment-823819"&gt;on GeoNet recently&lt;/A&gt;&amp;nbsp;-&amp;nbsp;the constraint syntax below might be of use? (With thanks to &lt;A href="https://community.esri.com/migrated-users/3263"&gt;James Tedrick&lt;/A&gt;‌.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="language-none"&gt;&lt;CODE&gt;if(selected(${category}, 'None') and count-selected(${category}) &amp;gt; 1, false(), true() )‍&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Jim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Jan 2019 04:58:28 GMT</pubDate>
    <dc:creator>Jim-Moore</dc:creator>
    <dc:date>2019-01-17T04:58:28Z</dc:date>
    <item>
      <title>Constraint on select_multiple answers</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/constraint-on-select-multiple-answers/m-p/809790#M13033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I wonder how I can check on not allowed combinations of select_multiple answers.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example: I have a list of multiple choices (category): none, covered, uncovered, vip. If none is checked, the others should not be applicable, for the others any combination is possible. It seems awkward to list all possible combinations as a constraint.&lt;/P&gt;&lt;P&gt;I was thinking of something like &amp;nbsp;if(selected(${category},'None') then count(${category}) has to be 1 but how do I put this as a constraint?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jan 2019 08:47:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/constraint-on-select-multiple-answers/m-p/809790#M13033</guid>
      <dc:creator>Nicole_Ueberschär</dc:creator>
      <dc:date>2019-01-16T08:47:59Z</dc:date>
    </item>
    <item>
      <title>Re: Constraint on select_multiple answers</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/constraint-on-select-multiple-answers/m-p/809791#M13034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nicole&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Great idea for the constraint. A similar query came up &lt;A _jive_internal="true" href="https://community.esri.com/thread/226458-another-value-na-in-select-multiple#comment-823819"&gt;on GeoNet recently&lt;/A&gt;&amp;nbsp;-&amp;nbsp;the constraint syntax below might be of use? (With thanks to &lt;A href="https://community.esri.com/migrated-users/3263"&gt;James Tedrick&lt;/A&gt;‌.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="language-none"&gt;&lt;CODE&gt;if(selected(${category}, 'None') and count-selected(${category}) &amp;gt; 1, false(), true() )‍&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Jim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2019 04:58:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/constraint-on-select-multiple-answers/m-p/809791#M13034</guid>
      <dc:creator>Jim-Moore</dc:creator>
      <dc:date>2019-01-17T04:58:28Z</dc:date>
    </item>
    <item>
      <title>Re: Constraint on select_multiple answers</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/constraint-on-select-multiple-answers/m-p/809792#M13035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot! Looks like logically I wasn't too far away from the solution &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/grin.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2019 06:23:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/constraint-on-select-multiple-answers/m-p/809792#M13035</guid>
      <dc:creator>Nicole_Ueberschär</dc:creator>
      <dc:date>2019-01-17T06:23:59Z</dc:date>
    </item>
    <item>
      <title>Re: Constraint on select_multiple answers</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/constraint-on-select-multiple-answers/m-p/809793#M13036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've added this constraint (based on your example)&lt;STRONG&gt; if(selected(${TreeFailureResult}, 'NONE') and count-selected(${TreeFailureResult}) &amp;gt; 1, false(), true() )&lt;/STRONG&gt; for my select_multiple but it doesn't trigger my constraint message "&amp;lt;b&amp;gt;None&amp;lt;/b&amp;gt; can't be selected with other choices."?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was also trying this approach (from an older GeoNet thread) to no effect: &lt;STRONG style="font-size: 9.0pt;"&gt;not(selected(., 'NONE') and (selected(.,'FIRE') or selected(.,'LOSL') or selected(.,'LOST')&amp;nbsp; or selected(.,'OTHR') or selected(.,'PERS') or selected(.,'UTIL') or selected(.,'PROP') or selected(.,'PRUN') or selected(.,'REMV')))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm testing this in Survey123 Connect (not by publishing and using in the Survey123 App).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2019 15:22:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/constraint-on-select-multiple-answers/m-p/809793#M13036</guid>
      <dc:creator>Dudley_R_Hartel</dc:creator>
      <dc:date>2019-01-17T15:22:04Z</dc:date>
    </item>
    <item>
      <title>Re: Constraint on select_multiple answers</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/constraint-on-select-multiple-answers/m-p/809794#M13037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I published that form change and the constraint message doesn't appear in "real-time", but only after I try to submit the form! So that can work - not quite what I was expecting.&lt;/P&gt;&lt;P&gt;Is there a "real-time" solution, so that when I'm in the a select_multiple question the form would prevent NONE with other checks and NOT have to wait til I submit?&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Multi-select example" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/433576_MultiSelect.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2019 15:32:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/constraint-on-select-multiple-answers/m-p/809794#M13037</guid>
      <dc:creator>Dudley_R_Hartel</dc:creator>
      <dc:date>2019-01-17T15:32:13Z</dc:date>
    </item>
    <item>
      <title>Re: Constraint on select_multiple answers</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/constraint-on-select-multiple-answers/m-p/809795#M13038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Optimally, if I check 'None" and then check some other list item, the 'None' would get unchecked?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2019 15:42:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/constraint-on-select-multiple-answers/m-p/809795#M13038</guid>
      <dc:creator>Dudley_R_Hartel</dc:creator>
      <dc:date>2019-01-17T15:42:42Z</dc:date>
    </item>
    <item>
      <title>Re: Constraint on select_multiple answers</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/constraint-on-select-multiple-answers/m-p/809796#M13039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dudley,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By 'real-time', you are asking for about option-by-option validation of the select_multiple question? &amp;nbsp;Currently, this is not supported in Survey123.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2019 19:05:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/constraint-on-select-multiple-answers/m-p/809796#M13039</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2019-01-17T19:05:14Z</dc:date>
    </item>
    <item>
      <title>Re: Constraint on select_multiple answers</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/constraint-on-select-multiple-answers/m-p/809797#M13040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Very close!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jan 2019 00:54:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/constraint-on-select-multiple-answers/m-p/809797#M13040</guid>
      <dc:creator>Jim-Moore</dc:creator>
      <dc:date>2019-01-18T00:54:58Z</dc:date>
    </item>
    <item>
      <title>Re: Constraint on select_multiple answers</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/constraint-on-select-multiple-answers/m-p/809798#M13041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dudley&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One&lt;SPAN&gt;&amp;nbsp;option&amp;nbsp;&lt;/SPAN&gt;could be to use the constraint as described, but also have a&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;note&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;that appears immediately below the select_multiple&lt;SPAN&gt;&amp;nbsp;to&amp;nbsp;&lt;/SPAN&gt;warn the user when&amp;nbsp;they've selected 'NONE'&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;and&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;one or more other choices, e.g. add&amp;nbsp;&lt;EM&gt;selected(${TreeFailureResult}, 'NONE') and count-selected(${TreeFailureResult}) &amp;gt; 1&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to the relevant column for the note.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternatively, you could add a preceding question to control if the user sees the select_multiple,&amp;nbsp;&lt;A _jive_internal="true" href="https://community.esri.com/thread/226458-another-value-na-in-select-multiple#comment-821524" style="color: #2989c5; text-decoration: none;"&gt;as described here&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jan 2019 01:19:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/constraint-on-select-multiple-answers/m-p/809798#M13041</guid>
      <dc:creator>Jim-Moore</dc:creator>
      <dc:date>2019-01-18T01:19:23Z</dc:date>
    </item>
    <item>
      <title>Re: Constraint on select_multiple answers</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/constraint-on-select-multiple-answers/m-p/809799#M13042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To J. Tedrick: yes, by 'real-time' I meant an immediate response instated f waiting til validation.&lt;/P&gt;&lt;P&gt;To J. Moore: The note option is helpful (and I have now used that for other messages) -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks to responses&lt;/P&gt;&lt;P&gt;Dudley's response under a different GeoNet login&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jan 2019 17:16:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/constraint-on-select-multiple-answers/m-p/809799#M13042</guid>
      <dc:creator>MatFeltner</dc:creator>
      <dc:date>2019-01-22T17:16:09Z</dc:date>
    </item>
    <item>
      <title>Re: Constraint on select_multiple answers</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/constraint-on-select-multiple-answers/m-p/1176172#M42864</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;I'm trying to use the constraint in the same question to refer to, and It doesn't work... I'm looking this &lt;A href="https://support.esri.com/es/technical-article/000020969" target="_self"&gt;post&amp;nbsp;&lt;/A&gt;&amp;nbsp;and works fine, with some modifications, for example, refer to many options:&lt;/P&gt;&lt;P&gt;not((selected(., 'option1') or selected(., 'option2') or selected(., 'option3') or selected(., 'option4') or selected(., 'option5')) and selected(., 'option6'))&lt;/P&gt;</description>
      <pubDate>Sat, 21 May 2022 06:40:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/constraint-on-select-multiple-answers/m-p/1176172#M42864</guid>
      <dc:creator>HaroldHerrera1</dc:creator>
      <dc:date>2022-05-21T06:40:21Z</dc:date>
    </item>
  </channel>
</rss>

