<?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: Generating repeat summaries in a note field in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/generating-repeat-summaries-in-a-note-field/m-p/1161502#M41898</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Sorry for the delayed response.&lt;/P&gt;&lt;P&gt;I would look at generating the HTML table in a JavaScript function for each repeat value.&lt;/P&gt;&lt;P&gt;I will see if I have time to give it a try in this week.&lt;/P&gt;</description>
    <pubDate>Wed, 06 Apr 2022 09:42:59 GMT</pubDate>
    <dc:creator>DeonLengton</dc:creator>
    <dc:date>2022-04-06T09:42:59Z</dc:date>
    <item>
      <title>Generating repeat summaries in a note field</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/generating-repeat-summaries-in-a-note-field/m-p/1160113#M41810</link>
      <description>&lt;P&gt;hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to create a summary of repeat records in a S123 survey in a note field. The goal of this is to be able to provide the user with what has been entered so they can reference information as they add more repeats. I have looked all over and have had some success with the join() and concat() function but the load times are poor when switching pages while using a phone or tablet. This summary will not need to be retained in the feature layer after form submission which is why I am using the note field to display the summary.&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I need in the summary is the repeat number, a couple integer fields and text fields that are separated by a "/" or "I"&lt;/P&gt;&lt;P&gt;In a perfect world I would have this information formatted into a table using HTML formatting but that is a bit out of my realm of understanding. If this is feasible it would be preferable.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help or tips on making this work smoothly is appreciated!&amp;nbsp;&lt;/P&gt;&lt;P&gt;exls and csv's are attached. There are summaries being made for three of the pages (organic, mineral and species list)&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for any help!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Mar 2022 22:49:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/generating-repeat-summaries-in-a-note-field/m-p/1160113#M41810</guid>
      <dc:creator>RyanDurand2</dc:creator>
      <dc:date>2022-03-31T22:49:09Z</dc:date>
    </item>
    <item>
      <title>Re: Generating repeat summaries in a note field</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/generating-repeat-summaries-in-a-note-field/m-p/1160222#M41819</link>
      <description>&lt;P&gt;Hi Ryan&lt;/P&gt;&lt;P&gt;You should be able to achieve this with html by using a note field with a table in html:&lt;/P&gt;&lt;P&gt;&amp;lt;html&amp;gt;&lt;BR /&gt;&amp;lt;table border=1 width=100%&amp;gt;&lt;BR /&gt;&amp;lt;tr&amp;gt;&lt;BR /&gt;&amp;lt;td&amp;gt;&lt;BR /&gt;&amp;lt;strong&amp;gt; Heading &amp;lt;/strong&amp;gt;&lt;BR /&gt;&amp;lt;/td&amp;gt;&lt;BR /&gt;&amp;lt;/tr&amp;gt;&lt;BR /&gt;&amp;lt;tr&amp;gt;&lt;BR /&gt;&amp;lt;td&amp;gt; Some information 123 &amp;lt;/td&amp;gt;&lt;BR /&gt;&amp;lt;/tr&amp;gt;&lt;BR /&gt;&amp;lt;tr&amp;gt;&lt;BR /&gt;&amp;lt;td&amp;gt; Other information 234 &amp;lt;/td&amp;gt;&lt;BR /&gt;&amp;lt;/tr&amp;gt;&lt;BR /&gt;&amp;lt;/table&amp;gt;&lt;BR /&gt;&amp;lt;/body&amp;gt;&lt;BR /&gt;&amp;lt;/html&amp;gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Fri, 01 Apr 2022 12:41:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/generating-repeat-summaries-in-a-note-field/m-p/1160222#M41819</guid>
      <dc:creator>DeonLengton</dc:creator>
      <dc:date>2022-04-01T12:41:35Z</dc:date>
    </item>
    <item>
      <title>Re: Generating repeat summaries in a note field</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/generating-repeat-summaries-in-a-note-field/m-p/1160260#M41822</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/186941"&gt;@DeonLengton&lt;/a&gt;&amp;nbsp;, will this method work if the data is in a repeat, so we don't know exactly how many rows we need? Or is it only possible to hardcode the number of rows using this method?&lt;/P&gt;</description>
      <pubDate>Fri, 01 Apr 2022 14:13:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/generating-repeat-summaries-in-a-note-field/m-p/1160260#M41822</guid>
      <dc:creator>Katie_Clark</dc:creator>
      <dc:date>2022-04-01T14:13:57Z</dc:date>
    </item>
    <item>
      <title>Re: Generating repeat summaries in a note field</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/generating-repeat-summaries-in-a-note-field/m-p/1160263#M41823</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/497748"&gt;@RyanDurand2&lt;/a&gt;&amp;nbsp;I've done something very similar, just using concat and join. I used this method because the data summary the users wanted was for data entered in a repeat, so the number of rows needed would vary from survey to survey.&lt;/P&gt;&lt;P&gt;A quick note/tip - make sure you set the field length to a very high number (I ran into issues with the string truncating and throwing an error when more records were entered in the repeat than I anticipated) and also set the field type to null so it won't appear in your feature layer's attribute table.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Apr 2022 14:17:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/generating-repeat-summaries-in-a-note-field/m-p/1160263#M41823</guid>
      <dc:creator>Katie_Clark</dc:creator>
      <dc:date>2022-04-01T14:17:07Z</dc:date>
    </item>
    <item>
      <title>Re: Generating repeat summaries in a note field</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/generating-repeat-summaries-in-a-note-field/m-p/1160317#M41829</link>
      <description>&lt;P&gt;hello&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/186941"&gt;@DeonLengton&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As Sarah has asked, how does this work within a repeat? This note populates well from the information I enter for a single row but when I add additional repeats it simply overwrites the previous entry so I can only see the current repeat that is open.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I need is for each new repeat to add in a new row to build the table longer. I also need to have the data populate in columns and not just down the rows. How is this coded using HTML? The screenshot below will give you a clearer idea of what I am trying to accomplish. Where Attributes1-3 are all within a repeat&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RyanDurand2_0-1648829378743.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/37964i9631F64267360B1C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RyanDurand2_0-1648829378743.png" alt="RyanDurand2_0-1648829378743.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for the help,&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Apr 2022 16:11:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/generating-repeat-summaries-in-a-note-field/m-p/1160317#M41829</guid>
      <dc:creator>RyanDurand2</dc:creator>
      <dc:date>2022-04-01T16:11:02Z</dc:date>
    </item>
    <item>
      <title>Re: Generating repeat summaries in a note field</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/generating-repeat-summaries-in-a-note-field/m-p/1161502#M41898</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Sorry for the delayed response.&lt;/P&gt;&lt;P&gt;I would look at generating the HTML table in a JavaScript function for each repeat value.&lt;/P&gt;&lt;P&gt;I will see if I have time to give it a try in this week.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Apr 2022 09:42:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/generating-repeat-summaries-in-a-note-field/m-p/1161502#M41898</guid>
      <dc:creator>DeonLengton</dc:creator>
      <dc:date>2022-04-06T09:42:59Z</dc:date>
    </item>
    <item>
      <title>Re: Generating repeat summaries in a note field</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/generating-repeat-summaries-in-a-note-field/m-p/1305608#M50434</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/497748"&gt;@RyanDurand2&lt;/a&gt;&amp;nbsp; &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/186941"&gt;@DeonLengton&lt;/a&gt;&amp;nbsp; &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/232739"&gt;@Katie_Clark&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did you manage to accomplish this?? Really needing something like this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Still using a note field with HTML? How did you manage for variable number of rows??&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jul 2023 19:04:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/generating-repeat-summaries-in-a-note-field/m-p/1305608#M50434</guid>
      <dc:creator>GilMastrapa</dc:creator>
      <dc:date>2023-07-04T19:04:58Z</dc:date>
    </item>
    <item>
      <title>Re: Generating repeat summaries in a note field</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/generating-repeat-summaries-in-a-note-field/m-p/1363310#M53555</link>
      <description>&lt;P&gt;How does this type of summary at the end of a form work when you need the form to be compatible with the web-based version of the form?&amp;nbsp; I am kind of stumped of how to deal with a repeat I would like summarized on the last page before a user submits the record.&amp;nbsp; I pretty much need something like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Name:&lt;/P&gt;&lt;P&gt;Contact Info:&lt;/P&gt;&lt;P&gt;Facility Location Info: --everything below here would be from the repeat, and each record populated--&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Location Name:&amp;nbsp; XXXXXX&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Number of Points of interest:&amp;nbsp; XXXXXX&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Points of interest Total (a calculated number):&amp;nbsp; XXXXXX&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Attribute A: XXXXX&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Attribute B:&amp;nbsp; XXXXXX&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;(X however many records I have in the repeat)&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 20 Dec 2023 21:14:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/generating-repeat-summaries-in-a-note-field/m-p/1363310#M53555</guid>
      <dc:creator>MeganEngel</dc:creator>
      <dc:date>2023-12-20T21:14:32Z</dc:date>
    </item>
    <item>
      <title>Re: Generating repeat summaries in a note field</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/generating-repeat-summaries-in-a-note-field/m-p/1364971#M53674</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/497748"&gt;@RyanDurand2&lt;/a&gt;&amp;amp;&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/505884"&gt;@GilMastrapa&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I worked through this yesterday, and here is the version I came up with.&amp;nbsp; It doesn't come out as a pretty table though.&amp;nbsp; This isn't the final version of how I am wanting this to look, but it gets me into the ballpark.&lt;/P&gt;&lt;P&gt;So within the repeat, I added another string field (1000 char) that essentially is my join summary, note I have an if statement because how I want the summary to generate is different based on a yes/no field:&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;LI-CODE lang="c"&gt;if(selected(${OtherGrowersInBins}, 'Yes'), 
   (concat(${locationcounter}, ' -- ', ${FacilityAltID}, ' - ', ${NumBins}, ' bins (', ${StorageCapacity}, ' bu per bin) | ', ${OtherGrowersInBins}, ', other growers using this location: ', ${OtherGrowersInBins_Names})),
   (concat(${locationcounter}, ' -- ', ${FacilityAltID}, ' - ', ${NumBins}, ' bins (', ${StorageCapacity}, ' bu per bin) | ', ${OtherGrowersInBins}, ' other growers using this location.')))&lt;/LI-CODE&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;So now that each new record in the repeat has a summary field that is putting together the info I need, in a note field on the last page of the survey, I have the join() function:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;# JoinSummary is the field from the repeat which concat() was used to string all info together

join("\n\n", ${JoinSummary})&lt;/LI-CODE&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;Here is an example of what the final output would be:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MeganEngel_0-1703863662522.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/90127i431F3F01C6B7A87D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MeganEngel_0-1703863662522.png" alt="MeganEngel_0-1703863662522.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;</description>
      <pubDate>Fri, 29 Dec 2023 15:32:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/generating-repeat-summaries-in-a-note-field/m-p/1364971#M53674</guid>
      <dc:creator>MeganEngel</dc:creator>
      <dc:date>2023-12-29T15:32:06Z</dc:date>
    </item>
    <item>
      <title>Re: Generating repeat summaries in a note field</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/generating-repeat-summaries-in-a-note-field/m-p/1605822#M62124</link>
      <description>&lt;P&gt;This is a neat workaround! Would you mind posting your .xls for the S123 so that I can see how it all comes together?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Becky&lt;/P&gt;</description>
      <pubDate>Mon, 14 Apr 2025 20:50:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/generating-repeat-summaries-in-a-note-field/m-p/1605822#M62124</guid>
      <dc:creator>BeckyC-O</dc:creator>
      <dc:date>2025-04-14T20:50:14Z</dc:date>
    </item>
    <item>
      <title>Re: Generating repeat summaries in a note field</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/generating-repeat-summaries-in-a-note-field/m-p/1656870#M64409</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I have a problem viewing the summary of repeated questions. Can you help me? Can you share the Excel file you used for the example?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Oct 2025 20:33:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/generating-repeat-summaries-in-a-note-field/m-p/1656870#M64409</guid>
      <dc:creator>Operativo_GISRTM_GIS</dc:creator>
      <dc:date>2025-10-09T20:33:11Z</dc:date>
    </item>
  </channel>
</rss>

