<?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: Require one answer within group in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/require-one-answer-within-group/m-p/781649#M6215</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Initially, I&amp;nbsp;was&amp;nbsp;&lt;SPAN&gt;putting the constraint on the&amp;nbsp;same line as&amp;nbsp;the "select_one cities" field and that didn't work.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Eventually, I figured out that I had to put the&amp;nbsp;&lt;/SPAN&gt;constraint on the line as the calculate (count or join) and it finally worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help. I really appreciate it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Apr 2020 18:58:45 GMT</pubDate>
    <dc:creator>Soper_Chuck</dc:creator>
    <dc:date>2020-04-08T18:58:45Z</dc:date>
    <item>
      <title>Require one answer within group</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/require-one-answer-within-group/m-p/781647#M6213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have&amp;nbsp;two questions (cascading selects) within a repeat group. I've limited the repeat to 5, but I also need to require at least one answer (a city). I believe I need to put an expression in the constraint column, but I can't get it to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've attached a sample XLSForm that I adapted from the Cascading Selects sample. Any help would be appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2020 22:57:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/require-one-answer-within-group/m-p/781647#M6213</guid>
      <dc:creator>Soper_Chuck</dc:creator>
      <dc:date>2020-04-07T22:57:05Z</dc:date>
    </item>
    <item>
      <title>Re: Require one answer within group</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/require-one-answer-within-group/m-p/781648#M6214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So do you mean you want at least 1 of the 5 to have a value and you have repeat count of 5?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Outside the repeat add a join() which creates a list of values.&amp;nbsp; Then add a string-length() &amp;gt; 1 constraint to make sure at least something is in there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A field with count() then constraint of &amp;gt; 0 would also work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Apr 2020 14:37:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/require-one-answer-within-group/m-p/781648#M6214</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2020-04-08T14:37:48Z</dc:date>
    </item>
    <item>
      <title>Re: Require one answer within group</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/require-one-answer-within-group/m-p/781649#M6215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Initially, I&amp;nbsp;was&amp;nbsp;&lt;SPAN&gt;putting the constraint on the&amp;nbsp;same line as&amp;nbsp;the "select_one cities" field and that didn't work.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Eventually, I figured out that I had to put the&amp;nbsp;&lt;/SPAN&gt;constraint on the line as the calculate (count or join) and it finally worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help. I really appreciate it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Apr 2020 18:58:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/require-one-answer-within-group/m-p/781649#M6215</guid>
      <dc:creator>Soper_Chuck</dc:creator>
      <dc:date>2020-04-08T18:58:45Z</dc:date>
    </item>
  </channel>
</rss>

