<?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: Connect vs. Web form functionality: repeats, calculations, relevant statements in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/connect-vs-web-form-functionality-repeats/m-p/862125#M26039</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for escalating this for further investigation Jim (and communicating that).&lt;/P&gt;&lt;P&gt;I will try the workarounds for now. I believe I tried "7" before as the count but still wasn't working. Does Connect and web forms differ on how the counters count? I want to say I was seeing a difference.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Jan 2019 17:56:48 GMT</pubDate>
    <dc:creator>PhillipBailey</dc:creator>
    <dc:date>2019-01-22T17:56:48Z</dc:date>
    <item>
      <title>Connect vs. Web form functionality: repeats, calculations, relevant statements</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/connect-vs-web-form-functionality-repeats/m-p/862122#M26036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt;performed in S123 v. 3.1 (3.1.126 in Connect)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have created and tested a XLSForm in S123 Connect and trying to publish in the S123 Web form format. The main basis for this form is to collect daily production data (for 1 week, 1 well at a time). When publishing to the web, the calculations, relevant statements within the repeat section do not work the same way as in Connect.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, in &lt;STRONG&gt;Connect&lt;/STRONG&gt; the calculation field ${day_readout}&amp;nbsp;increments by (1) as each entry is entered.&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/431815_pastedImage_6.png" /&gt;&lt;/P&gt;&lt;P&gt;However, both the date and integer (Day # &lt;STRONG style="text-decoration: underline;"&gt;2&lt;/STRONG&gt;, in this case) within the integer type field named &lt;STRONG&gt;&lt;EM&gt;${&lt;STRONG&gt;vo&lt;/STRONG&gt;lume}&lt;/EM&gt;&lt;/STRONG&gt;&lt;EM&gt;,&amp;nbsp;&lt;/EM&gt;are not displaying properly in the &lt;STRONG&gt;web version&lt;/STRONG&gt; after each entry is populated.&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/431823_pastedImage_16.png" /&gt;&lt;/P&gt;&lt;P&gt;I read in a previous forum that&amp;nbsp;this calculation may not be supported yet on the web version:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;format-date(date-time(decimal-date-time(${start_date} + int(${day_count_conv}))),'%m/%d/%Y')&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/thread/189411"&gt;Survey123 Time Capture and calculation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Same general error for another equation for hidden type field named &lt;EM&gt;&lt;STRONG&gt;${sub_days}&lt;/STRONG&gt;&lt;/EM&gt;:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;int(${day_counter})+1&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;The "day_counter" fields use the count function to capture how day entries (&amp;gt;=0) have been entered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Question 1: Are the calculations not compatible or is it something else?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Towards the end of the repeat section, there is an relevant statement on a collapsed "Step 3" Group that does not open even after 7 entries are entered.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Connect (works)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/431824_pastedImage_24.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Web (does not work)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-4" src="https://community.esri.com/legacyfs/online/431825_pastedImage_28.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Question 2: Why is the relevant statement not working to open "Step 3" Group? Do repeat counts work (or numbered) the same way in both Connect and web form? It looks like in Connect it starts at "0" count and on the web form "1"...?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm wondering if any workarounds can be done to function on&amp;nbsp;the web. The must have's are: 1) users must be able to input daily data and 2) daily data must be tabled in rows (1 day, 1 well --&amp;gt; 1 row)&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-5 jive-image" src="https://community.esri.com/legacyfs/online/431827_pastedImage_33.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Dec 2018 22:40:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/connect-vs-web-form-functionality-repeats/m-p/862122#M26036</guid>
      <dc:creator>PhillipBailey</dc:creator>
      <dc:date>2018-12-17T22:40:55Z</dc:date>
    </item>
    <item>
      <title>Re: Connect vs. Web form functionality: repeats, calculations, relevant statements</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/connect-vs-web-form-functionality-repeats/m-p/862123#M26037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Phillip&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for providing&amp;nbsp;your XLSForm. At first glance it looks like this&amp;nbsp;could be a limitation with how the&amp;nbsp;&lt;EM&gt;count(repeat)&amp;nbsp;&lt;/EM&gt;function works in the web form. We're investigating the issue and will&amp;nbsp;get back to you&amp;nbsp;with an update.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2019 03:56:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/connect-vs-web-form-functionality-repeats/m-p/862123#M26037</guid>
      <dc:creator>Jim-Moore</dc:creator>
      <dc:date>2019-01-17T03:56:58Z</dc:date>
    </item>
    <item>
      <title>Re: Connect vs. Web form functionality: repeats, calculations, relevant statements</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/connect-vs-web-form-functionality-repeats/m-p/862124#M26038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Phillip&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Confirming that this has been logged in our system as an issue for further investigation. In the web form, when used &lt;STRONG&gt;inside&lt;/STRONG&gt; a repeat the count() function resets to 1 for each record in the repeat. Our team is looking into this and I'll update this post with any developments.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding Question 2, this goes some way to explaining why the Step 3 group does not appear in the web form: the &lt;EM&gt;relevant&lt;/EM&gt; expression is never satisfied because the count() is never greater than 1. A workaround in the meantime would be to put a count() calculation in a question &lt;EM&gt;outside&lt;/EM&gt; of the repeat and use this for the &lt;EM&gt;relevant&lt;/EM&gt; expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also,&amp;nbsp;the &lt;EM&gt;repeat_count&lt;/EM&gt; set in your XLSForm will be honoured in the web form. I notice that the XLSForm you provided has repeat_count set to 6; this should be 7 if you're expecting 7 daily entries. The count() function will return a zero until there's a valid entry in the field it's counting. Please see the attached XLSForm as a demo. Hope this is useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Jim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jan 2019 04:49:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/connect-vs-web-form-functionality-repeats/m-p/862124#M26038</guid>
      <dc:creator>Jim-Moore</dc:creator>
      <dc:date>2019-01-18T04:49:24Z</dc:date>
    </item>
    <item>
      <title>Re: Connect vs. Web form functionality: repeats, calculations, relevant statements</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/connect-vs-web-form-functionality-repeats/m-p/862125#M26039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for escalating this for further investigation Jim (and communicating that).&lt;/P&gt;&lt;P&gt;I will try the workarounds for now. I believe I tried "7" before as the count but still wasn't working. Does Connect and web forms differ on how the counters count? I want to say I was seeing a difference.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jan 2019 17:56:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/connect-vs-web-form-functionality-repeats/m-p/862125#M26039</guid>
      <dc:creator>PhillipBailey</dc:creator>
      <dc:date>2019-01-22T17:56:48Z</dc:date>
    </item>
    <item>
      <title>Re: Connect vs. Web form functionality: repeats, calculations, relevant statements</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/connect-vs-web-form-functionality-repeats/m-p/862126#M26040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Phillip, the web form should&amp;nbsp;display the same number of repeats as specified in the &lt;EM&gt;repeat_count&lt;/EM&gt; column in your XLSForm; but please send through screenshots if you're seeing something different so we can take a look. Thanks, Jim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jan 2019 22:48:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/connect-vs-web-form-functionality-repeats/m-p/862126#M26040</guid>
      <dc:creator>Jim-Moore</dc:creator>
      <dc:date>2019-01-22T22:48:04Z</dc:date>
    </item>
    <item>
      <title>Re: Connect vs. Web form functionality: repeats, calculations, relevant statements</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/connect-vs-web-form-functionality-repeats/m-p/862127#M26041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/346771"&gt;Jim Moore&lt;/A&gt;‌ - I posted this in the beta discussion forum too, but I think this may be related to Philip's question?&amp;nbsp;&lt;/P&gt;&lt;P style="text-align: center;"&gt;-----------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; background-color: #ffffff;"&gt;I have a Survey that is used to create simple PDF reports with images, captions &amp;amp; reference maps.&amp;nbsp; Each repeat contains an image, a caption and a geopoint.&amp;nbsp; The geopoint is populated by using pulldata on the attached image's exif, and I was very happy to finally get that calculation working in a web form this morning.&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; background-color: #ffffff;"&gt;Unlike the mobile form though, it appears that the web form will only work on the very first image uploaded.&amp;nbsp; If you click "+" to add a new repeat/entry and then attach an image, it will clear the first geopoint and also fail to update the current one.&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; background-color: #ffffff;"&gt;Here's a link directly to the survey form - https://survey123.arcgis.com/share/fa930ed8e09448e698096cde9c7c883b&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; background-color: #ffffff;"&gt;short video of the behavior - https://vimeo.com/332087152/7bb244f2f7&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; background-color: #ffffff;"&gt;Is this a known limitation, a bug, or user error?&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; background-color: #ffffff;"&gt;Thanks,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR style="color: #333333; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #333333; background-color: #ffffff;"&gt;Derrick&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Apr 2019 22:49:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/connect-vs-web-form-functionality-repeats/m-p/862127#M26041</guid>
      <dc:creator>DerrickWestoby1</dc:creator>
      <dc:date>2019-04-23T22:49:39Z</dc:date>
    </item>
    <item>
      <title>Re: Connect vs. Web form functionality: repeats, calculations, relevant statements</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/connect-vs-web-form-functionality-repeats/m-p/862128#M26042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just to note, this question was addressed in the&amp;nbsp;Early Adopter Community - it is an issue with the webform.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Apr 2019 21:03:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/connect-vs-web-form-functionality-repeats/m-p/862128#M26042</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2019-04-25T21:03:38Z</dc:date>
    </item>
    <item>
      <title>Re: Connect vs. Web form functionality: repeats, calculations, relevant statements</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/connect-vs-web-form-functionality-repeats/m-p/1228618#M45859</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/48347"&gt;@PhillipBailey&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/252531"&gt;@DerrickWestoby1&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Just FYI, we confirmed that the issue "count() or sum() inside a repeat does not work as expected in the web app" cannot be fixed at this time.&lt;/P&gt;&lt;P&gt;Please consider using one of the following workarounds to help your workflow:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Move&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;sum()&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;or&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;count()&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;outside a repeat&lt;/LI&gt;&lt;LI&gt;Add a&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;sum()&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;or&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;count()&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;outside the repeat as usual, then reference its value as calculation inside the repeat&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Zhifang&lt;/P&gt;</description>
      <pubDate>Fri, 04 Nov 2022 02:39:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/connect-vs-web-form-functionality-repeats/m-p/1228618#M45859</guid>
      <dc:creator>ZhifangWang</dc:creator>
      <dc:date>2022-11-04T02:39:39Z</dc:date>
    </item>
  </channel>
</rss>

