<?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: Form Logic Error - Hidden Repeat in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/form-logic-error-hidden-repeat/m-p/1237439#M46331</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/626366"&gt;@alyssajhnsn&lt;/a&gt;&amp;nbsp; You will need to share your XLSForm for anyone to be able to help you. If you do not want to post your XLSForm file publicly in this forum, our Esri Technical Support team will be happy to help if you open a ticket.&lt;/P&gt;</description>
    <pubDate>Fri, 02 Dec 2022 22:07:35 GMT</pubDate>
    <dc:creator>IsmaelChivite</dc:creator>
    <dc:date>2022-12-02T22:07:35Z</dc:date>
    <item>
      <title>Form Logic Error - Hidden Repeat</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/form-logic-error-hidden-repeat/m-p/1237438#M46330</link>
      <description>&lt;P&gt;I'm trying to develop a survey with multiple repeats. It works fine in Survey123 Connect, but when it's published and I try to use it in a web browser, it displays the following error message.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;FormLogicError: Could not evaluate: /model/instance[1]/Form_3/survey_type = 'Interview' or /model/instance[1]/Form_3/permission_to_survey = 'Yes', message: Failed to execute 'evaluate' on 'XPathEvaluator': parameter 2 is not of type 'Node'.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;None of the repeats are working or showing in the browser. All work in Survey123 Connect before it's published.&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alyssajhnsn_1-1670018680255.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/57561i6F26263F094B1FDF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="alyssajhnsn_1-1670018680255.png" alt="alyssajhnsn_1-1670018680255.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Dec 2022 22:05:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/form-logic-error-hidden-repeat/m-p/1237438#M46330</guid>
      <dc:creator>alyssajhnsn</dc:creator>
      <dc:date>2022-12-02T22:05:15Z</dc:date>
    </item>
    <item>
      <title>Re: Form Logic Error - Hidden Repeat</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/form-logic-error-hidden-repeat/m-p/1237439#M46331</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/626366"&gt;@alyssajhnsn&lt;/a&gt;&amp;nbsp; You will need to share your XLSForm for anyone to be able to help you. If you do not want to post your XLSForm file publicly in this forum, our Esri Technical Support team will be happy to help if you open a ticket.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Dec 2022 22:07:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/form-logic-error-hidden-repeat/m-p/1237439#M46331</guid>
      <dc:creator>IsmaelChivite</dc:creator>
      <dc:date>2022-12-02T22:07:35Z</dc:date>
    </item>
    <item>
      <title>Re: Form Logic Error - Hidden Repeat</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/form-logic-error-hidden-repeat/m-p/1237441#M46332</link>
      <description>&lt;P&gt;Attached.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Dec 2022 22:11:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/form-logic-error-hidden-repeat/m-p/1237441#M46332</guid>
      <dc:creator>alyssajhnsn</dc:creator>
      <dc:date>2022-12-02T22:11:06Z</dc:date>
    </item>
    <item>
      <title>Re: Form Logic Error - Hidden Repeat</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/form-logic-error-hidden-repeat/m-p/1237743#M46343</link>
      <description>&lt;P&gt;Why do you have&amp;nbsp;&lt;SPAN&gt;${survey_type} = 'Observation' or ${permission_to_survey} = 'No' or ${confidently_count} = 'Yes' in the bind::type column? If you are trying to control when the repeat is displayed you need to use the relevant or the body::esri:visible columns.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Dec 2022 13:46:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/form-logic-error-hidden-repeat/m-p/1237743#M46343</guid>
      <dc:creator>JenniferAcunto</dc:creator>
      <dc:date>2022-12-05T13:46:53Z</dc:date>
    </item>
    <item>
      <title>Re: Form Logic Error - Hidden Repeat</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/form-logic-error-hidden-repeat/m-p/1238517#M46381</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/626366"&gt;@alyssajhnsn&lt;/a&gt;&amp;nbsp; While there are some issues in the Survey12 design, as highlighted by&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/160974"&gt;@JenniferAcunto&lt;/a&gt;,&amp;nbsp;the fundamental problem is caused by what looks to be a BUG in the software. We are still investigating the root cause. At first sight it seems to be related to the combination of repeats, with repeat_count, relevant statements and the minimal appearance.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I suggest you open a Tech Support Incident so this is logged more formally. We will continue researching on our side to understand the problem better.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Dec 2022 21:44:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/form-logic-error-hidden-repeat/m-p/1238517#M46381</guid>
      <dc:creator>IsmaelChivite</dc:creator>
      <dc:date>2022-12-06T21:44:08Z</dc:date>
    </item>
    <item>
      <title>Re: Form Logic Error - Hidden Repeat</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/form-logic-error-hidden-repeat/m-p/1238539#M46382</link>
      <description>&lt;P&gt;I honestly was trying to move it around between relevant and various places trying to get it to work. I opened a tech support case and rebuilt the survey from scratch. It's some issue with having calculations or anything in the repeat_count column for the repeats.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Dec 2022 22:57:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/form-logic-error-hidden-repeat/m-p/1238539#M46382</guid>
      <dc:creator>alyssajhnsn</dc:creator>
      <dc:date>2022-12-06T22:57:07Z</dc:date>
    </item>
    <item>
      <title>Re: Form Logic Error - Hidden Repeat</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/form-logic-error-hidden-repeat/m-p/1238569#M46385</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/626366"&gt;@alyssajhnsn&lt;/a&gt;&amp;nbsp; &amp;nbsp;We made some progress with this. The software defect is logged as&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;STRONG&gt;BUG-000153480&lt;/STRONG&gt; If a question outside the repeat is using the same relevant expression as a begin repeat with minimal appearance, the ArcGIS Survey123 web app 3.16 returns the error message...&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;We are aiming at addressing this in February 2023. In the meantime, avoid repeats with both repeat_count and a relevant expression.&lt;/P&gt;&lt;P&gt;I made minimum changes to your design to get it going. See the file attached to this message. I removed the repeat_count.&amp;nbsp; As an alternative to repeat_count, you could build some logic to display a message if the number of records in the repeat does not meet criteria. You could also use a constraint, on top of the warning note, to make the collection more robust.&lt;/P&gt;&lt;P&gt;Sorry for the bump with this. Hopefully you can take it from here.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2022 01:10:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/form-logic-error-hidden-repeat/m-p/1238569#M46385</guid>
      <dc:creator>IsmaelChivite</dc:creator>
      <dc:date>2022-12-07T01:10:37Z</dc:date>
    </item>
    <item>
      <title>Re: Form Logic Error - Hidden Repeat</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/form-logic-error-hidden-repeat/m-p/1260051#M47559</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/2929"&gt;@IsmaelChivite&lt;/a&gt;,&amp;nbsp;I have similar challenge as &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/626366"&gt;@alyssajhnsn&lt;/a&gt;.&amp;nbsp;What is the update on the loggeded defect "&lt;STRONG&gt;BUG-000153480"? .&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot (15).png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/63296i2E758FB9840FB4BB/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot (15).png" alt="Screenshot (15).png" /&gt;&lt;/span&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Initlally, I&amp;nbsp; thought&amp;nbsp; the error occurred because of long field names, but the field names were less that 31 characters. I have reduced the length of name fields and also explicitly converted calculate question type to integer for use in repeat_count the error still persist.&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my case, adding the repeat question, which has a repeat_count and relevant expression, prevents other prior questions from being displayed. I removed the repeat group and discovered they displayed well. So does it imply that, at the moment, I can't use dynamic repeat_count and relevant expression in our survey? I would appreciate a workaround.&amp;nbsp; This is the link to the survey &lt;A href="https://arcg.is/1Dj0jC" target="_blank" rel="noopener"&gt;FGM&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Elijah.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2023 15:16:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/form-logic-error-hidden-repeat/m-p/1260051#M47559</guid>
      <dc:creator>ElijahOwoseni</dc:creator>
      <dc:date>2023-02-21T15:16:24Z</dc:date>
    </item>
    <item>
      <title>Re: Form Logic Error - Hidden Repeat</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/form-logic-error-hidden-repeat/m-p/1260758#M47602</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/626366"&gt;@alyssajhnsn&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/265898"&gt;@ElijahOwoseni&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;A href="https://support.esri.com/en/bugs/nimbus/QlVHLTAwMDE1MzQ4MA==" target="_blank" rel="noopener"&gt;BUG-000153480&amp;nbsp;&lt;/A&gt;has been fixed in &lt;A href="https://community.esri.com/t5/arcgis-survey123-blog/what-s-new-in-arcgis-survey123-december-2022/ba-p/1237935" target="_blank" rel="noopener"&gt;Survey123 December 2022 Update&lt;/A&gt;. Can you please confirm if the original issue got fixed in your workflow? You may need to republish the survey in Survey123 Connect 3.16 or above.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Feb 2023 03:25:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/form-logic-error-hidden-repeat/m-p/1260758#M47602</guid>
      <dc:creator>ZhifangWang</dc:creator>
      <dc:date>2023-02-23T03:25:45Z</dc:date>
    </item>
  </channel>
</rss>

