<?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: Constraints on empty fields in repeat in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/constraints-on-empty-fields-in-repeat/m-p/1477919#M57073</link>
    <description>&lt;P&gt;The required column accepts logic statements. I regularly set these up for scenarios like you described.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;In my case, I have two primary calculates that every one of these "office only" questions gets:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abureaux_0-1716490900759.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/105192i2077859F57ED5ADA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abureaux_0-1716490900759.png" alt="abureaux_0-1716490900759.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;These are linked to a single select:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abureaux_1-1716490972237.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/105193iD7F29D7BEB17E761/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abureaux_1-1716490972237.png" alt="abureaux_1-1716490972237.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;And those calculates swaps the questions from "note required":&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abureaux_2-1716491018267.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/105195iEA615124B4C4F8DA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abureaux_2-1716491018267.png" alt="abureaux_2-1716491018267.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;To "required":&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abureaux_4-1716491039739.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/105197i37BE8E9A812EA902/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abureaux_4-1716491039739.png" alt="abureaux_4-1716491039739.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I use the black asterisk as a visual reminder that those question &lt;EM&gt;will&lt;/EM&gt; be required at some point.&lt;/P&gt;</description>
    <pubDate>Thu, 23 May 2024 19:05:13 GMT</pubDate>
    <dc:creator>abureaux</dc:creator>
    <dc:date>2024-05-23T19:05:13Z</dc:date>
    <item>
      <title>Constraints on empty fields in repeat</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/constraints-on-empty-fields-in-repeat/m-p/1477220#M57048</link>
      <description>&lt;P&gt;I have a survey that is basically just repeat. Within the repeat there are entries required while out in the field, and others that can only be entered upon return to the office. The users must be able to cycle through the repeats while leaving the office entries blank, but I need to set it up so they cannot submit the survey until those fields have been complete.&lt;/P&gt;&lt;P&gt;I was able to do a workaround where I calculate a 1 or 0 for each of these "required in the office" fields, then calculate if each one is all complete, with a constraint on THAT calculation. This is a rather messy way to do it and is alot of extra fields.&lt;/P&gt;&lt;P&gt;&amp;nbsp;Is it possible to use a constraint directly on the original field that requires the field to be non-empty and will fire upon attempted submission? Thus far it doesn't seem to want to work, I'm assuming because it's empty. I've tried string-length(.)&amp;gt;0, string-length(.)!=0, and .!=''. The test case is a text field.&lt;/P&gt;</description>
      <pubDate>Wed, 22 May 2024 19:57:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/constraints-on-empty-fields-in-repeat/m-p/1477220#M57048</guid>
      <dc:creator>DouglasKnabe</dc:creator>
      <dc:date>2024-05-22T19:57:44Z</dc:date>
    </item>
    <item>
      <title>Re: Constraints on empty fields in repeat</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/constraints-on-empty-fields-in-repeat/m-p/1477919#M57073</link>
      <description>&lt;P&gt;The required column accepts logic statements. I regularly set these up for scenarios like you described.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;In my case, I have two primary calculates that every one of these "office only" questions gets:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abureaux_0-1716490900759.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/105192i2077859F57ED5ADA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abureaux_0-1716490900759.png" alt="abureaux_0-1716490900759.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;These are linked to a single select:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abureaux_1-1716490972237.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/105193iD7F29D7BEB17E761/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abureaux_1-1716490972237.png" alt="abureaux_1-1716490972237.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;And those calculates swaps the questions from "note required":&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abureaux_2-1716491018267.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/105195iEA615124B4C4F8DA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abureaux_2-1716491018267.png" alt="abureaux_2-1716491018267.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;To "required":&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abureaux_4-1716491039739.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/105197i37BE8E9A812EA902/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abureaux_4-1716491039739.png" alt="abureaux_4-1716491039739.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I use the black asterisk as a visual reminder that those question &lt;EM&gt;will&lt;/EM&gt; be required at some point.&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2024 19:05:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/constraints-on-empty-fields-in-repeat/m-p/1477919#M57073</guid>
      <dc:creator>abureaux</dc:creator>
      <dc:date>2024-05-23T19:05:13Z</dc:date>
    </item>
  </channel>
</rss>

