<?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 Survey123 Data Validation error in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-data-validation-error/m-p/839703#M20573</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I receive the following errors when I try to convert the attached XLSForm (relevant fields highlighted in yellow).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Basically I am collecting data related to sexual and reproductive health and would like to do the following two things&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1. If a woman has had more 1 or more live births, I would like the question about the year of her first birth to display, so I have entered the following expression in the "relevant" column: $(livebirths) &amp;gt; 1&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2. I would like to calculate the age of each partner at the time of marriage using the following expression: $(marriageyear)-$(wyob)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;What am I doing wrong???&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;These are the errors&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. "ODK Validate Errors: XForm is invalid. See above for the errors. org.javarosa.xform.parse.XFormParseException: Encountered a problem with display condition for node [$(Y_P_1_)] at line: $(livebirths) &amp;gt; 1, Couldn't understand the expression starting at this point: , $(livebirths) &amp;gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.&amp;nbsp;&lt;SPAN&gt;"ODK Validate Errors: XForm is invalid. See above for the errors. org.javarosa.xform.parse.XFormParseException: Invalidate calculate for the bind attached to "$(w_age_marriage)" : Couldn't understand the expression starting at this point: ,$(marriageyear)... in expression $(marraigeyear)-$(wyob)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Result: Invalid"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Aug 2020 06:15:20 GMT</pubDate>
    <dc:creator>MorgenChalmiers</dc:creator>
    <dc:date>2020-08-24T06:15:20Z</dc:date>
    <item>
      <title>Survey123 Data Validation error</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-data-validation-error/m-p/839703#M20573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I receive the following errors when I try to convert the attached XLSForm (relevant fields highlighted in yellow).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Basically I am collecting data related to sexual and reproductive health and would like to do the following two things&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1. If a woman has had more 1 or more live births, I would like the question about the year of her first birth to display, so I have entered the following expression in the "relevant" column: $(livebirths) &amp;gt; 1&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2. I would like to calculate the age of each partner at the time of marriage using the following expression: $(marriageyear)-$(wyob)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;What am I doing wrong???&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;These are the errors&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. "ODK Validate Errors: XForm is invalid. See above for the errors. org.javarosa.xform.parse.XFormParseException: Encountered a problem with display condition for node [$(Y_P_1_)] at line: $(livebirths) &amp;gt; 1, Couldn't understand the expression starting at this point: , $(livebirths) &amp;gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.&amp;nbsp;&lt;SPAN&gt;"ODK Validate Errors: XForm is invalid. See above for the errors. org.javarosa.xform.parse.XFormParseException: Invalidate calculate for the bind attached to "$(w_age_marriage)" : Couldn't understand the expression starting at this point: ,$(marriageyear)... in expression $(marraigeyear)-$(wyob)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Result: Invalid"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2020 06:15:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-data-validation-error/m-p/839703#M20573</guid>
      <dc:creator>MorgenChalmiers</dc:creator>
      <dc:date>2020-08-24T06:15:20Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123 Data Validation error</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-data-validation-error/m-p/839704#M20574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Field names use {} not ().&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;${livebirths} &amp;gt; 1&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Hope that helps&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2020 13:27:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-data-validation-error/m-p/839704#M20574</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2020-08-24T13:27:32Z</dc:date>
    </item>
  </channel>
</rss>

