<?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 Syntax for constraint column in Survey123Connect? in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/syntax-for-constraint-column-in-survey123connect/m-p/1591433#M61496</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have an integer question for which the answers can only be: 1, 2 or 3. It is not a required question (its within a repeat) so I have the default set to zero to avoid calculation errors (several questions with these answers -- calculation question with a sum divided by the count).&lt;/P&gt;&lt;P&gt;I have used the "spinner" for the appearance of the question, and the default, "0," shows up when I view the form (I haven't published it yet), but when I hit the plus sign, I can continue past 3 (4, 5, 6, etc). Here is what I have in the constraints column for this question:&lt;/P&gt;&lt;P&gt;. = 1 or . = 2 or . = 3&lt;/P&gt;&lt;P&gt;Is this the proper syntax, or am I missing something?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance!&lt;/P&gt;&lt;P&gt;-Susan&lt;/P&gt;</description>
    <pubDate>Mon, 03 Mar 2025 21:26:32 GMT</pubDate>
    <dc:creator>SusanWS_nysm</dc:creator>
    <dc:date>2025-03-03T21:26:32Z</dc:date>
    <item>
      <title>Syntax for constraint column in Survey123Connect?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/syntax-for-constraint-column-in-survey123connect/m-p/1591433#M61496</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have an integer question for which the answers can only be: 1, 2 or 3. It is not a required question (its within a repeat) so I have the default set to zero to avoid calculation errors (several questions with these answers -- calculation question with a sum divided by the count).&lt;/P&gt;&lt;P&gt;I have used the "spinner" for the appearance of the question, and the default, "0," shows up when I view the form (I haven't published it yet), but when I hit the plus sign, I can continue past 3 (4, 5, 6, etc). Here is what I have in the constraints column for this question:&lt;/P&gt;&lt;P&gt;. = 1 or . = 2 or . = 3&lt;/P&gt;&lt;P&gt;Is this the proper syntax, or am I missing something?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance!&lt;/P&gt;&lt;P&gt;-Susan&lt;/P&gt;</description>
      <pubDate>Mon, 03 Mar 2025 21:26:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/syntax-for-constraint-column-in-survey123connect/m-p/1591433#M61496</guid>
      <dc:creator>SusanWS_nysm</dc:creator>
      <dc:date>2025-03-03T21:26:32Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax for constraint column in Survey123Connect?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/syntax-for-constraint-column-in-survey123connect/m-p/1592005#M61526</link>
      <description>&lt;P&gt;Okay! I "solved" the problem on my own -- apparently, there are different ways of evaluating constraints - in the form upon entry, OR upon submission of the survey. The syntax above is correct. I was also only testing the survey within the Survey123 Connect environment as well, which may not entirely behave as survey form on in the field app.&amp;nbsp; I published a test survey with an integer question with all the above parameters, downloaded it to my phone, and tried to enter the number "4" -- and it would not let me -- and it displayed the constraint-message as well ("Please enter 1, 2 or 3"). &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Mar 2025 21:41:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/syntax-for-constraint-column-in-survey123connect/m-p/1592005#M61526</guid>
      <dc:creator>SusanWS_nysm</dc:creator>
      <dc:date>2025-03-04T21:41:32Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax for constraint column in Survey123Connect?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/syntax-for-constraint-column-in-survey123connect/m-p/1592031#M61527</link>
      <description>&lt;P&gt;And, I forgot to add, the "appearance" column/field must be left blank -- the constraint won't work with the spinner (or calculator, etc.)&lt;/P&gt;</description>
      <pubDate>Tue, 04 Mar 2025 21:49:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/syntax-for-constraint-column-in-survey123connect/m-p/1592031#M61527</guid>
      <dc:creator>SusanWS_nysm</dc:creator>
      <dc:date>2025-03-04T21:49:55Z</dc:date>
    </item>
  </channel>
</rss>

