<?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: Validating select_multiple responses in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/validating-select-multiple-responses/m-p/865155#M26823</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Excellent. Thanks for the fast response. Initially,&amp;nbsp;it wasn't working for me because my&amp;nbsp;list item value for "None" was 8 which needed to be in quotes like this:&amp;nbsp;&amp;nbsp;if(selected(., '8'), count-selected(.)=1,1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To verify some formulas I used a calculation in a note field. Now, I'm getting a "Data values are valid" alert when attempting to submit the survey. As I said, I'm new to Survey123. Thanks again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Mar 2020 21:59:19 GMT</pubDate>
    <dc:creator>Soper_Chuck</dc:creator>
    <dc:date>2020-03-11T21:59:19Z</dc:date>
    <item>
      <title>Validating select_multiple responses</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/validating-select-multiple-responses/m-p/865153#M26821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm relatively new to Survey123. I'm building a survey with about 50 questions. The data output file has a strict format. About 6 or 8 questions are multiple choice with 5 to 8 questions like this:&lt;/P&gt;&lt;OL&gt;&lt;LI style="padding: 0px;"&gt;Question 1&lt;/LI&gt;&lt;LI&gt;Question 2&lt;/LI&gt;&lt;LI&gt;Question 3&lt;/LI&gt;&lt;LI&gt;Question 4&lt;/LI&gt;&lt;LI&gt;None&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Users can select all that apply (select_multiple) except 'None' cannot be combined with any other answers. The data output&amp;nbsp;for questions like this is required to be '1,2,4' or '5' but '4,5' should never be accepted. What is the best strategy for validating this question and preventing the user from submitting invalid data? I can't validate after submitting survey because that would require contacting the user. Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2020 18:21:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/validating-select-multiple-responses/m-p/865153#M26821</guid>
      <dc:creator>Soper_Chuck</dc:creator>
      <dc:date>2020-03-11T18:21:03Z</dc:date>
    </item>
    <item>
      <title>Re: Validating select_multiple responses</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/validating-select-multiple-responses/m-p/865154#M26822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just had to do this.&amp;nbsp; Basically if None is selected then the total selected must be 1.&amp;nbsp; If None is not selected then no prob.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;constraint&lt;/P&gt;&lt;P&gt;if(selected(., "None"), count-selected(.)=1,1)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2020 19:09:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/validating-select-multiple-responses/m-p/865154#M26822</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2020-03-11T19:09:28Z</dc:date>
    </item>
    <item>
      <title>Re: Validating select_multiple responses</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/validating-select-multiple-responses/m-p/865155#M26823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Excellent. Thanks for the fast response. Initially,&amp;nbsp;it wasn't working for me because my&amp;nbsp;list item value for "None" was 8 which needed to be in quotes like this:&amp;nbsp;&amp;nbsp;if(selected(., '8'), count-selected(.)=1,1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To verify some formulas I used a calculation in a note field. Now, I'm getting a "Data values are valid" alert when attempting to submit the survey. As I said, I'm new to Survey123. Thanks again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2020 21:59:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/validating-select-multiple-responses/m-p/865155#M26823</guid>
      <dc:creator>Soper_Chuck</dc:creator>
      <dc:date>2020-03-11T21:59:19Z</dc:date>
    </item>
  </channel>
</rss>

