<?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: Consistent numbering of repeat items in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/consistent-numbering-of-repeat-items/m-p/840578#M20757</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This may have came from my post.&amp;nbsp; I use it a lot but it never came up!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now that I think about it maybe once(max() + 1) would work.&amp;nbsp; You have given me something to consider here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Jul 2019 20:37:52 GMT</pubDate>
    <dc:creator>DougBrowning</dc:creator>
    <dc:date>2019-07-23T20:37:52Z</dc:date>
    <item>
      <title>Consistent numbering of repeat items</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/consistent-numbering-of-repeat-items/m-p/840577#M20756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are already some threads on how to number repeat items (e. g. &lt;A _jive_internal="true" href="https://community.esri.com/message/793623-how-to-assign-each-repeat-group-within-a-repeat-a-number-label"&gt;How to assign each repeat group within a repeat a number label&lt;/A&gt;).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The proposed solution, using the once(count()) combination, seems to do the trick, but it cannot guarantee a consistent numbering of the repeat items.&amp;nbsp;When, in a first instance, I create three items within a&amp;nbsp;repeat (numbers #1, #2, #3) and then delete the first item (#1), the two remaining items still have numbers #2 and #3 (which is okay). Now, when I create another item (actually number #4) it also gets number #3 leaving me with two items that are numbered #3. (Maybe this is what James meant by noting '...&lt;SPAN style="background-color: #ffffff;"&gt;that this does not update if a repeat is deleted mid-way through completing the form'&lt;/SPAN&gt;).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any other way to consistently number all items in a repeat question, taking intp account that items might get deleted?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much, best regards,&lt;/P&gt;&lt;P&gt;Jürgen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jul 2019 09:59:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/consistent-numbering-of-repeat-items/m-p/840577#M20756</guid>
      <dc:creator>deleted-user--2hDb5YTmQS1</dc:creator>
      <dc:date>2019-07-23T09:59:37Z</dc:date>
    </item>
    <item>
      <title>Re: Consistent numbering of repeat items</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/consistent-numbering-of-repeat-items/m-p/840578#M20757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This may have came from my post.&amp;nbsp; I use it a lot but it never came up!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now that I think about it maybe once(max() + 1) would work.&amp;nbsp; You have given me something to consider here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jul 2019 20:37:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/consistent-numbering-of-repeat-items/m-p/840578#M20757</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2019-07-23T20:37:52Z</dc:date>
    </item>
    <item>
      <title>Re: Consistent numbering of repeat items</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/consistent-numbering-of-repeat-items/m-p/840579#M20758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Doug,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your answer. Although this new approach with the max() function seems reasonable, I don't get it working. Did you find out how to do the trick?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, Jürgen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jul 2019 07:44:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/consistent-numbering-of-repeat-items/m-p/840579#M20758</guid>
      <dc:creator>deleted-user--2hDb5YTmQS1</dc:creator>
      <dc:date>2019-07-24T07:44:41Z</dc:date>
    </item>
    <item>
      <title>Re: Consistent numbering of repeat items</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/consistent-numbering-of-repeat-items/m-p/840580#M20759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;max only works outside the repeat if I remember right.&amp;nbsp; So you need a hidden field outside the repeat with max in it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jul 2019 14:34:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/consistent-numbering-of-repeat-items/m-p/840580#M20759</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2019-07-24T14:34:57Z</dc:date>
    </item>
  </channel>
</rss>

