<?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 b'ODK Validate Errors - Surve123 Connect/ Regex expression in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/b-odk-validate-errors-surve123-connect-regex/m-p/1372338#M54136</link>
    <description>&lt;P&gt;Hi y'all!&lt;/P&gt;&lt;P&gt;I'm trying to force a field to be written in capital letters ONLY. I've tried to use de expression&amp;nbsp;&lt;STRONG&gt;regex(.,'^[A-Z]*$') &lt;/STRONG&gt;in the &lt;EM&gt;Calculate&lt;/EM&gt; column, however I have the following error as I try to publish the survey:&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;EM&gt;b'ODK Validate Errors:\n&amp;gt;&amp;gt; Something broke the parser. See above hor a hint.\nDependency cycles amongst the xpath expressions in relevant/calculate\n\nResult: Invalid'&lt;/EM&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;Do you know why?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tried to fixed and can't find a solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 19 Jan 2024 16:41:25 GMT</pubDate>
    <dc:creator>DianaTorres10</dc:creator>
    <dc:date>2024-01-19T16:41:25Z</dc:date>
    <item>
      <title>b'ODK Validate Errors - Surve123 Connect/ Regex expression</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/b-odk-validate-errors-surve123-connect-regex/m-p/1372338#M54136</link>
      <description>&lt;P&gt;Hi y'all!&lt;/P&gt;&lt;P&gt;I'm trying to force a field to be written in capital letters ONLY. I've tried to use de expression&amp;nbsp;&lt;STRONG&gt;regex(.,'^[A-Z]*$') &lt;/STRONG&gt;in the &lt;EM&gt;Calculate&lt;/EM&gt; column, however I have the following error as I try to publish the survey:&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;EM&gt;b'ODK Validate Errors:\n&amp;gt;&amp;gt; Something broke the parser. See above hor a hint.\nDependency cycles amongst the xpath expressions in relevant/calculate\n\nResult: Invalid'&lt;/EM&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;Do you know why?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tried to fixed and can't find a solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jan 2024 16:41:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/b-odk-validate-errors-surve123-connect-regex/m-p/1372338#M54136</guid>
      <dc:creator>DianaTorres10</dc:creator>
      <dc:date>2024-01-19T16:41:25Z</dc:date>
    </item>
    <item>
      <title>Re: b'ODK Validate Errors - Surve123 Connect/ Regex expression</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/b-odk-validate-errors-surve123-connect-regex/m-p/1372350#M54137</link>
      <description>&lt;P&gt;The attached XLSForm worked for me.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="IsmaelChivite_0-1705683758716.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/92226iEA81A4489566EF2F/image-size/large?v=v2&amp;amp;px=999" role="button" title="IsmaelChivite_0-1705683758716.png" alt="IsmaelChivite_0-1705683758716.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The error message you are getting indicates that you are creating an endless cycle with your expression. If you put the regex expression in the calculation column, you will indeed create an endless cycle because your regex expression is trying to use the user text in the same line where your regex runs.&lt;/P&gt;&lt;P&gt;You want to put the regex expression in the constraint column. The constraint expression is evaluated in the mobile app when you try to submit the form.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jan 2024 17:05:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/b-odk-validate-errors-surve123-connect-regex/m-p/1372350#M54137</guid>
      <dc:creator>IsmaelChivite</dc:creator>
      <dc:date>2024-01-19T17:05:32Z</dc:date>
    </item>
    <item>
      <title>Re: b'ODK Validate Errors - Surve123 Connect/ Regex expression</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/b-odk-validate-errors-surve123-connect-regex/m-p/1372414#M54144</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/2929"&gt;@IsmaelChivite&lt;/a&gt;!&lt;/P&gt;&lt;P&gt;How can I also include space between words as and acceptable value?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I used the regex expression in the constraint column as sugested, but I didn't think about the spaces between words and now I have that error.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jan 2024 18:43:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/b-odk-validate-errors-surve123-connect-regex/m-p/1372414#M54144</guid>
      <dc:creator>DianaTorres10</dc:creator>
      <dc:date>2024-01-19T18:43:48Z</dc:date>
    </item>
    <item>
      <title>Re: b'ODK Validate Errors - Surve123 Connect/ Regex expression</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/b-odk-validate-errors-surve123-connect-regex/m-p/1372767#M54166</link>
      <description>&lt;P&gt;Try this expression, it allowed me to enter multiple capitalized words: regex(${example1},"^[A-Z]*")&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MarikaVertzonis_0-1705883116282.png" style="width: 578px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/92342iADBA546DFB15D11C/image-dimensions/578x39?v=v2" width="578" height="39" role="button" title="MarikaVertzonis_0-1705883116282.png" alt="MarikaVertzonis_0-1705883116282.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2024 00:27:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/b-odk-validate-errors-surve123-connect-regex/m-p/1372767#M54166</guid>
      <dc:creator>MarikaVertzonis</dc:creator>
      <dc:date>2024-01-22T00:27:14Z</dc:date>
    </item>
    <item>
      <title>Re: b'ODK Validate Errors - Surve123 Connect/ Regex expression</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/b-odk-validate-errors-surve123-connect-regex/m-p/1373716#M54238</link>
      <description>&lt;P&gt;Thank you! This was actually very helpful.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jan 2024 23:30:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/b-odk-validate-errors-surve123-connect-regex/m-p/1373716#M54238</guid>
      <dc:creator>DianaTorres10</dc:creator>
      <dc:date>2024-01-23T23:30:43Z</dc:date>
    </item>
  </channel>
</rss>

