<?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: ODK Validate Error &amp; XPath Dependency Cycle in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/odk-validate-error-xpath-dependency-cycle/m-p/1152943#M41259</link>
    <description>&lt;P&gt;You could simply put 0 in the default column of your question.&lt;/P&gt;</description>
    <pubDate>Fri, 11 Mar 2022 15:11:50 GMT</pubDate>
    <dc:creator>JeremieCote</dc:creator>
    <dc:date>2022-03-11T15:11:50Z</dc:date>
    <item>
      <title>ODK Validate Error &amp; XPath Dependency Cycle</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/odk-validate-error-xpath-dependency-cycle/m-p/854980#M24493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, I have been racking my brain for the last day regarding this error shown below. &amp;nbsp;Attached are the two spreadsheets I utilize.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/370636_Survey123_OTForm_Error1.JPG" style="width: 620px; height: 212px;" /&gt;&lt;IMG alt="" class="image-2 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/370637_Survey123_OTForm_Error2.JPG" style="width: 620px; height: 210px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2017 15:01:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/odk-validate-error-xpath-dependency-cycle/m-p/854980#M24493</guid>
      <dc:creator>OscarSepulveda_III</dc:creator>
      <dc:date>2017-09-11T15:01:59Z</dc:date>
    </item>
    <item>
      <title>Re: ODK Validate Error &amp; XPath Dependency Cycle</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/odk-validate-error-xpath-dependency-cycle/m-p/854981#M24494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Oscar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It looks like the 'dependency cycle' error is the one holding up the survey. &amp;nbsp;You have two fields that have a calculation statement that refer to themselves (start_time and end_time) - fields cannot refer to themselves in a calculation, as that might cause an endless loop. &amp;nbsp;removing the calculation (and constraint, which doesn't make sense in a date time question) allowed the form to generate successfully.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2017 16:40:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/odk-validate-error-xpath-dependency-cycle/m-p/854981#M24494</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2017-09-11T16:40:51Z</dc:date>
    </item>
    <item>
      <title>Re: ODK Validate Error &amp; XPath Dependency Cycle</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/odk-validate-error-xpath-dependency-cycle/m-p/854982#M24495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi James,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm running into this same problem with a pulldata calculation. The basic functionality desired is a two-way pulldata&amp;nbsp;based on fields Common Name and Scientific Name. I have a csv attached with common names, scientific names, species code, and genus. The user wants to be able to type in either a common or scientific name into the select one box, and from either of those generate the dependent fields (code, common/botanical, and genus).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this possible to do with a workaround somehow? I have tried creating duplicate hidden fields which paste the select one answers as text, and reference those instead but am still getting the error referenced above.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jan 2019 17:48:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/odk-validate-error-xpath-dependency-cycle/m-p/854982#M24495</guid>
      <dc:creator>SavannahWinstanley1</dc:creator>
      <dc:date>2019-01-30T17:48:10Z</dc:date>
    </item>
    <item>
      <title>Re: ODK Validate Error &amp; XPath Dependency Cycle</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/odk-validate-error-xpath-dependency-cycle/m-p/854983#M24496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Savannah,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A two way lookup (lookup in common, get scientific; look up in scientific, get common) can't be done in Survey123 - as the error indicates, it could create a cycle of continuous lookups. &amp;nbsp;One way around would be to have a hidden field that looks up the value based on if common is present (look up scientific) or scientific (copy over) is filled in.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2019 21:41:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/odk-validate-error-xpath-dependency-cycle/m-p/854983#M24496</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2019-02-06T21:41:06Z</dc:date>
    </item>
    <item>
      <title>Re: ODK Validate Error &amp; XPath Dependency Cycle</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/odk-validate-error-xpath-dependency-cycle/m-p/1150488#M41061</link>
      <description>&lt;P&gt;Hi James,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm having similar problems when using an 'if' function. The functionality required is- if the current question is left blank (not answered) then replace with '0', alternately if the question was answered then return the answered value. I feel like this is a fairly simple situation but I keep getting the above mentioned error. The question is a 'Text' question so I'm using the string-length function within the if expression.&amp;nbsp;&lt;/P&gt;&lt;P&gt;P.S I have beginner's level knowledge of survey123 connect!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2022 23:43:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/odk-validate-error-xpath-dependency-cycle/m-p/1150488#M41061</guid>
      <dc:creator>AditiPanhalkar</dc:creator>
      <dc:date>2022-03-03T23:43:49Z</dc:date>
    </item>
    <item>
      <title>Re: ODK Validate Error &amp; XPath Dependency Cycle</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/odk-validate-error-xpath-dependency-cycle/m-p/1152943#M41259</link>
      <description>&lt;P&gt;You could simply put 0 in the default column of your question.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Mar 2022 15:11:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/odk-validate-error-xpath-dependency-cycle/m-p/1152943#M41259</guid>
      <dc:creator>JeremieCote</dc:creator>
      <dc:date>2022-03-11T15:11:50Z</dc:date>
    </item>
  </channel>
</rss>

