<?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: Text calculation not updating in nested repeat in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/text-calculation-not-updating-in-nested-repeat/m-p/1596541#M61725</link>
    <description>&lt;P&gt;No you would have to scroll through all repeats for the calculations to refire.&amp;nbsp; This is the same issue you posted yesterday.&lt;/P&gt;&lt;P&gt;For us we load all the plots into Field Maps and use launch links to pass over the PlotID and other config fields to 123.&amp;nbsp; We never let them edit the PlotID.&amp;nbsp; This was a big win for us since, as you say, the user enters wrong IDs a lot.&amp;nbsp; We even send the lat/long to the form and warn them if they seem far away from the plot they picked in Field Maps.&amp;nbsp; Field Maps allows the crews to have a actual map to find the locations.&amp;nbsp; More advanced workflow but its works well for us.&lt;/P&gt;&lt;P&gt;We still have some that sneak through and we have QA scripts that run to check for this.&lt;/P&gt;&lt;P&gt;You could also have your plot list be a csv with lat/longs in it and warn the user they are far away.&lt;/P&gt;</description>
    <pubDate>Tue, 18 Mar 2025 13:52:51 GMT</pubDate>
    <dc:creator>DougBrowning</dc:creator>
    <dc:date>2025-03-18T13:52:51Z</dc:date>
    <item>
      <title>Text calculation not updating in nested repeat</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/text-calculation-not-updating-in-nested-repeat/m-p/1596532#M61724</link>
      <description>&lt;P&gt;The first page of a data collection form has text fields for the plot name and phase (pre/post). Following the first page, each nested repeat contains a calculation field that concatenates the plot name and phase. This allows easier tracking of which repeat records belong to which plots when data is exported.&amp;nbsp;&lt;/P&gt;&lt;P&gt;When a user enters the plot name incorrectly, collects data, then corrects the mistake before submitting the form, the nested repeat records still contain the incorrect name. I tried calculationMode=always in the bind::esri:parameters column, and the first record of the nested repeat will update but subsequent records will not. We have up to 200 repeats in some forms.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to refresh all calculated text fields before submitting the form without scrolling through every nested repeat record?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Mar 2025 13:41:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/text-calculation-not-updating-in-nested-repeat/m-p/1596532#M61724</guid>
      <dc:creator>KMo</dc:creator>
      <dc:date>2025-03-18T13:41:23Z</dc:date>
    </item>
    <item>
      <title>Re: Text calculation not updating in nested repeat</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/text-calculation-not-updating-in-nested-repeat/m-p/1596541#M61725</link>
      <description>&lt;P&gt;No you would have to scroll through all repeats for the calculations to refire.&amp;nbsp; This is the same issue you posted yesterday.&lt;/P&gt;&lt;P&gt;For us we load all the plots into Field Maps and use launch links to pass over the PlotID and other config fields to 123.&amp;nbsp; We never let them edit the PlotID.&amp;nbsp; This was a big win for us since, as you say, the user enters wrong IDs a lot.&amp;nbsp; We even send the lat/long to the form and warn them if they seem far away from the plot they picked in Field Maps.&amp;nbsp; Field Maps allows the crews to have a actual map to find the locations.&amp;nbsp; More advanced workflow but its works well for us.&lt;/P&gt;&lt;P&gt;We still have some that sneak through and we have QA scripts that run to check for this.&lt;/P&gt;&lt;P&gt;You could also have your plot list be a csv with lat/longs in it and warn the user they are far away.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Mar 2025 13:52:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/text-calculation-not-updating-in-nested-repeat/m-p/1596541#M61725</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2025-03-18T13:52:51Z</dc:date>
    </item>
    <item>
      <title>Re: Text calculation not updating in nested repeat</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/text-calculation-not-updating-in-nested-repeat/m-p/1596564#M61726</link>
      <description>&lt;P&gt;I don't have a Survey123 fix for this but this is how I get around it, since I have a similar issue - I have Plot IDs which need to be "cascaded" to records in the repeats.&lt;/P&gt;&lt;P&gt;I have a Status field on all the forms I submit which defaults to a value like "New" or 0, indicating they haven't been processed.&amp;nbsp; I have a scheduled notebook that runs a few times a day that identifies new submissions and uses Python to copy the Plot ID (and do other calculations) to the related records from the repeat.&amp;nbsp; It then sets the Status field to a different value, indicating it's already been processed.&lt;/P&gt;&lt;P&gt;I also do some validation at this point and raise errors in a dashboard if there are other issues with the submission, and if it fails hard I won't bump it up to the "processed" flag.&amp;nbsp; Users generally work in disconnected environments so some validation can only be performed once the submission's been sent in.&lt;/P&gt;&lt;P&gt;I used hosted feature layer views to prevent unprocessed/erroneous submissions from being visible to other users.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Mar 2025 14:19:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/text-calculation-not-updating-in-nested-repeat/m-p/1596564#M61726</guid>
      <dc:creator>MobiusSnake</dc:creator>
      <dc:date>2025-03-18T14:19:37Z</dc:date>
    </item>
  </channel>
</rss>

