<?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: Calculation in nested repeat not triggering in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/calculation-in-nested-repeat-not-triggering/m-p/1702621#M66214</link>
    <description>&lt;P&gt;What version is your form?&lt;/P&gt;</description>
    <pubDate>Mon, 18 May 2026 17:51:15 GMT</pubDate>
    <dc:creator>f92k</dc:creator>
    <dc:date>2026-05-18T17:51:15Z</dc:date>
    <item>
      <title>Calculation in nested repeat not triggering</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/calculation-in-nested-repeat-not-triggering/m-p/1702157#M66199</link>
      <description>&lt;P class=""&gt;&lt;SPAN&gt;I ran into what appears to be a Survey123 web form issue with nested repeats and wanted to share. I haven't seen this exact issues brought forward.&amp;nbsp; I think I have it solved for my purposes. I am posting to see if anyone else has ran into the issue, has any explanations or alternate solutions&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;My form structure is:&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;Main form -&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;Product repeat-&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;Ingredient repeat&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;Inside the Ingredient repeat, I have a simple hidden calculated field based on another question in the same repeat ( if (selected(${&amp;lt;field}, 'A'), 'A', 'B')&amp;gt;. The calculation worked correctly in Survey123 Connect and the Field App, but in the web form it behaved inconsistently.&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;All Ingredient records under the first Product calculated correctly.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;In subsequent Product repeats, the calculated Ingredient record would not recalculate and stayed at the default value.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Calculation mode appeared not to have an affect.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;Adding a relevant clause to the calculated question seemed to solve some of the issue (string-length(${&amp;lt;field&amp;gt;})&amp;gt;0) as it delays the trigger until there is an answer to the previous question. However, after adding the relevant clause the first record of each subsequent repeat still displayed this issue unless I added a second ingredient and then returned to the first ingredient of the second product, it would then recalculate correctly.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Changing the calculationMode from 'auto' to 'always' appears to have fixed this for my situation. But I believe it has to do with the re-evaluate calculations upon submit, more than fixing the behavior as it replicates the go back to question one trigger, not actually solving the why it didn't trigger on the first ingredient of the 2nd product issue.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Again thought I would share and see if anyone else has thoughts.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 May 2026 18:15:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/calculation-in-nested-repeat-not-triggering/m-p/1702157#M66199</guid>
      <dc:creator>Neal_t_k</dc:creator>
      <dc:date>2026-05-18T18:15:09Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation in nested repeat not triggering</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/calculation-in-nested-repeat-not-triggering/m-p/1702609#M66211</link>
      <description>&lt;P&gt;Is your survey published using version 3.25? Version 3.25 has an update that affected calculations. See these pots:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;A href="https://community.esri.com/t5/arcgis-survey123-questions/error-in-update-3-25-27-for-groups-in-modo-form/m-p/1694333/highlight/true#M65856" target="_blank"&gt;Re: Erro 3.25.27 groups in ${modo_form} = 'edit' - Esri Community&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://community.esri.com/t5/arcgis-survey123-questions/survey123-connect-update-3-25-inputmask-submission/m-p/1696049/highlight/true#M65967" target="_blank"&gt;Solved: Re: Survey123 Connect Update 3.25 - inputMask subm... - Esri Community&lt;/A&gt;&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Mon, 18 May 2026 17:09:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/calculation-in-nested-repeat-not-triggering/m-p/1702609#M66211</guid>
      <dc:creator>f92k</dc:creator>
      <dc:date>2026-05-18T17:09:30Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation in nested repeat not triggering</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/calculation-in-nested-repeat-not-triggering/m-p/1702618#M66212</link>
      <description>&lt;P&gt;Those appear to be different behavior than I am describing.&amp;nbsp; I am not re editing an existing submission, these are all new records. The behavior appears to be be happening on whether calculation mode is set to auto or always.&amp;nbsp; Always only appears to be working because of this:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Neal_t_k_0-1779126041925.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/152596i497CA4E8C3BA79D5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Neal_t_k_0-1779126041925.png" alt="Neal_t_k_0-1779126041925.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 May 2026 17:40:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/calculation-in-nested-repeat-not-triggering/m-p/1702618#M66212</guid>
      <dc:creator>Neal_t_k</dc:creator>
      <dc:date>2026-05-18T17:40:47Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation in nested repeat not triggering</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/calculation-in-nested-repeat-not-triggering/m-p/1702621#M66214</link>
      <description>&lt;P&gt;What version is your form?&lt;/P&gt;</description>
      <pubDate>Mon, 18 May 2026 17:51:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/calculation-in-nested-repeat-not-triggering/m-p/1702621#M66214</guid>
      <dc:creator>f92k</dc:creator>
      <dc:date>2026-05-18T17:51:15Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation in nested repeat not triggering</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/calculation-in-nested-repeat-not-triggering/m-p/1702628#M66215</link>
      <description>&lt;P&gt;I publish from connect so it is the latest version.&amp;nbsp; Just updated on Friday.&lt;/P&gt;</description>
      <pubDate>Mon, 18 May 2026 18:13:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/calculation-in-nested-repeat-not-triggering/m-p/1702628#M66215</guid>
      <dc:creator>Neal_t_k</dc:creator>
      <dc:date>2026-05-18T18:13:29Z</dc:date>
    </item>
  </channel>
</rss>

