<?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: Repeat counts returning 1 as 10 or 100 in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/repeat-counts-returning-1-as-10-or-100/m-p/1678561#M65212</link>
    <description>&lt;P&gt;I marked 2 solutions as both are valid - 1 where the field is retained and the other where the field is used to calculate temp values but isn't saved to the feature service.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 19 Jan 2026 00:09:26 GMT</pubDate>
    <dc:creator>LindsayRaabe_FPCWA</dc:creator>
    <dc:date>2026-01-19T00:09:26Z</dc:date>
    <item>
      <title>Repeat counts returning 1 as 10 or 100</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/repeat-counts-returning-1-as-10-or-100/m-p/1678006#M65185</link>
      <description>&lt;P&gt;I'm build a survey in Survey123 Connect and it contains a number of repeats. I'm using the repeat_count parameter and count() to get how many repeats have been created in Repeat A and using that to generate prefilled repeats in Repeat B, but keep running into an issue. It seems that when adding counts together, instead of adding 1 + 1 to get 2, its returning 10. If I add a 3rd count on, instead of 1+1+1=3, it returns 100. What am I doing wrong?&lt;/P&gt;&lt;P&gt;In the screenshot below, I have 1 repeat each in 2 of the 3 repeat tables to be counted (Part_B_Part_C_Prevention_Risk_Controls_PRCs_System_Procedural_Controls and&amp;nbsp;Part_B_Part_C_Prevention_Risk_Controls_PRCs_Plant_Equipment_Infrastructure_Controls) which is reflected correctly in label1 and label2 with "1" returned in each. But in label4, instead of showing "2", it shows "11". This is compounded in label5 with "110" being returned. It's like it's concatenating the values instead of adding them together.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LindsayRaabe_FPCWA_0-1768450801242.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/146801iFF01918E54A65BA5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LindsayRaabe_FPCWA_0-1768450801242.png" alt="LindsayRaabe_FPCWA_0-1768450801242.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This then results in 110 repeats being created in the destination table (instead of 2). I also don't seem to be getting the value passed across correctly (PRC to action) but thats a different issue and haven't dug into it yet.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LindsayRaabe_FPCWA_2-1768450889057.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/146803i009ECD86E608B418/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LindsayRaabe_FPCWA_2-1768450889057.png" alt="LindsayRaabe_FPCWA_2-1768450889057.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Note - in the sample xls attached, I've set the fields to text to show in the form, but the intention is for them to be calculate fields and hidden.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jan 2026 04:21:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/repeat-counts-returning-1-as-10-or-100/m-p/1678006#M65185</guid>
      <dc:creator>LindsayRaabe_FPCWA</dc:creator>
      <dc:date>2026-01-15T04:21:48Z</dc:date>
    </item>
    <item>
      <title>Re: Repeat counts returning 1 as 10 or 100</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/repeat-counts-returning-1-as-10-or-100/m-p/1678007#M65186</link>
      <description>&lt;P&gt;Just the act of writing this up has helped me figure out whats happeneing. It's treating it as text isntead of a number and concatenating the values. I updated my formula to use the int() function around each field and it worked.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Before:&amp;nbsp;${nPRC_sys} + ${nPRC_plnt}&lt;/P&gt;&lt;P&gt;After:&amp;nbsp;int(${nPRC_sys}) + int(${nPRC_plnt})&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now, jsut to figure out why it isn't passing the indexed values across properly (it's probably related to the returning of the value as text instead of an integer as well).&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jan 2026 04:28:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/repeat-counts-returning-1-as-10-or-100/m-p/1678007#M65186</guid>
      <dc:creator>LindsayRaabe_FPCWA</dc:creator>
      <dc:date>2026-01-15T04:28:07Z</dc:date>
    </item>
    <item>
      <title>Re: Repeat counts returning 1 as 10 or 100</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/repeat-counts-returning-1-as-10-or-100/m-p/1678044#M65188</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/148829"&gt;@LindsayRaabe_FPCWA&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For calculate fields, text is the default return type. You can override this by setting the bind::esri:fieldType column to integer, or whatever other data type you feel appropriate. This should also allow you to get rid of the int() functions.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jan 2026 13:06:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/repeat-counts-returning-1-as-10-or-100/m-p/1678044#M65188</guid>
      <dc:creator>ZenMasterZeke</dc:creator>
      <dc:date>2026-01-15T13:06:15Z</dc:date>
    </item>
    <item>
      <title>Re: Repeat counts returning 1 as 10 or 100</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/repeat-counts-returning-1-as-10-or-100/m-p/1678051#M65190</link>
      <description>OFFICIAL&lt;BR /&gt;&lt;BR /&gt;I assume that doing that would force the calculate field to be created instead of being temp during form completion?&lt;BR /&gt;</description>
      <pubDate>Thu, 15 Jan 2026 13:42:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/repeat-counts-returning-1-as-10-or-100/m-p/1678051#M65190</guid>
      <dc:creator>LindsayRaabe_FPCWA</dc:creator>
      <dc:date>2026-01-15T13:42:52Z</dc:date>
    </item>
    <item>
      <title>Re: Repeat counts returning 1 as 10 or 100</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/repeat-counts-returning-1-as-10-or-100/m-p/1678057#M65191</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/148829"&gt;@LindsayRaabe_FPCWA&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Wouldn't the calculate field normally be created anyway? It's a hidden field on the form. You can set bind::esri:fieldType to null to prevent it from being added to the table.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jan 2026 14:00:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/repeat-counts-returning-1-as-10-or-100/m-p/1678057#M65191</guid>
      <dc:creator>ZenMasterZeke</dc:creator>
      <dc:date>2026-01-15T14:00:12Z</dc:date>
    </item>
    <item>
      <title>Re: Repeat counts returning 1 as 10 or 100</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/repeat-counts-returning-1-as-10-or-100/m-p/1678284#M65204</link>
      <description>OFFICIAL&lt;BR /&gt;&lt;BR /&gt;There's my ignorance showing. The problem with learning as you go and not doing all the reading but just skimming to find what you need. Thank you.&lt;BR /&gt;</description>
      <pubDate>Thu, 15 Jan 2026 23:56:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/repeat-counts-returning-1-as-10-or-100/m-p/1678284#M65204</guid>
      <dc:creator>LindsayRaabe_FPCWA</dc:creator>
      <dc:date>2026-01-15T23:56:52Z</dc:date>
    </item>
    <item>
      <title>Re: Repeat counts returning 1 as 10 or 100</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/repeat-counts-returning-1-as-10-or-100/m-p/1678561#M65212</link>
      <description>&lt;P&gt;I marked 2 solutions as both are valid - 1 where the field is retained and the other where the field is used to calculate temp values but isn't saved to the feature service.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jan 2026 00:09:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/repeat-counts-returning-1-as-10-or-100/m-p/1678561#M65212</guid>
      <dc:creator>LindsayRaabe_FPCWA</dc:creator>
      <dc:date>2026-01-19T00:09:26Z</dc:date>
    </item>
  </channel>
</rss>

