<?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 Counter within Repeat in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/counter-within-repeat/m-p/1156105#M41456</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to capture field survey data for fish recorded in nets in Survey123.&lt;/P&gt;&lt;P&gt;Each lake can have multiple nets in it. Each net can have multiple fish in it. The fish must be associated with the net,&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have created a survey that populates net details from a CSV, and then allows the user to record fish. A&amp;nbsp;&lt;SPAN&gt;counter keeps track of the numbers recorded, and then does calculations on these. See below for counter.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="IFI_1-1647959073186.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/36944i26EDDF0B3F0B7485/image-size/medium?v=v2&amp;amp;px=400" role="button" title="IFI_1-1647959073186.png" alt="IFI_1-1647959073186.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The problem I am encountering is getting the Counter to reset when I want to add details for additional nets. Is there a way of resetting it once the data for one net has been recorded?&lt;/P&gt;&lt;P&gt;Has anybody any ideas on how to do this?&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 22 Mar 2022 14:26:42 GMT</pubDate>
    <dc:creator>IFI</dc:creator>
    <dc:date>2022-03-22T14:26:42Z</dc:date>
    <item>
      <title>Counter within Repeat</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/counter-within-repeat/m-p/1156105#M41456</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to capture field survey data for fish recorded in nets in Survey123.&lt;/P&gt;&lt;P&gt;Each lake can have multiple nets in it. Each net can have multiple fish in it. The fish must be associated with the net,&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have created a survey that populates net details from a CSV, and then allows the user to record fish. A&amp;nbsp;&lt;SPAN&gt;counter keeps track of the numbers recorded, and then does calculations on these. See below for counter.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="IFI_1-1647959073186.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/36944i26EDDF0B3F0B7485/image-size/medium?v=v2&amp;amp;px=400" role="button" title="IFI_1-1647959073186.png" alt="IFI_1-1647959073186.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The problem I am encountering is getting the Counter to reset when I want to add details for additional nets. Is there a way of resetting it once the data for one net has been recorded?&lt;/P&gt;&lt;P&gt;Has anybody any ideas on how to do this?&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Mar 2022 14:26:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/counter-within-repeat/m-p/1156105#M41456</guid>
      <dc:creator>IFI</dc:creator>
      <dc:date>2022-03-22T14:26:42Z</dc:date>
    </item>
    <item>
      <title>Re: Counter within Repeat</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/counter-within-repeat/m-p/1157032#M41537</link>
      <description>&lt;P&gt;Lake (Contains count of nets)&lt;/P&gt;&lt;P&gt;-Net (Repeat) (Contains count of fish in net)&lt;/P&gt;&lt;P&gt;--Fish (Nested Repeat)&lt;BR /&gt;&lt;BR /&gt;Is that correct?&amp;nbsp;&lt;BR /&gt;Why do you have once() included in one of your counts? That will prevent the count from updating as you add more fish/nets.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;If that's not your problem, you could make your "counts" relevant to some toggle-question, such as adding this to the relevant column:&amp;nbsp; ${recalc_toggle}='calculate_it_again'&amp;nbsp;&lt;/P&gt;&lt;P&gt;That would allow you to keep once() in your calc (assuming it's there for a reason) and give the user an option to recalc when needed instead of automatically.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2022 21:26:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/counter-within-repeat/m-p/1157032#M41537</guid>
      <dc:creator>DerrickWestoby</dc:creator>
      <dc:date>2022-03-23T21:26:41Z</dc:date>
    </item>
  </channel>
</rss>

