<?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: once(join()) work differently on the first repeat in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/once-join-work-differently-on-the-first-repeat/m-p/1548931#M59649</link>
    <description>&lt;P&gt;Thanks, I figured out I wasn't actually needing to use the once() function. I wanted to have a select multiple that populated into repeats but also updated itself when the select multiple list was changed, but regardless of the order they were selected.&lt;/P&gt;&lt;P&gt;Instead I used this:&amp;nbsp;selected-at(${species_choice},position(..)-1)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JoshB123_0-1729073306141.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/117301i27994A6D4E150B47/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JoshB123_0-1729073306141.png" alt="JoshB123_0-1729073306141.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 16 Oct 2024 10:09:46 GMT</pubDate>
    <dc:creator>JoshB123</dc:creator>
    <dc:date>2024-10-16T10:09:46Z</dc:date>
    <item>
      <title>once(join()) work differently on the first repeat</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/once-join-work-differently-on-the-first-repeat/m-p/1153525#M41292</link>
      <description>&lt;P&gt;When I use once(join)) inside of a repeat the first records works differently.&amp;nbsp; It adds it right away where all other repeats adds it after the move to the next repeat.&amp;nbsp; I am trying to get around this using position but I use pages which means it is in a group which means it always returns 0.&lt;/P&gt;&lt;P&gt;First repeat&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DougBrowning_0-1647289435934.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/36292i37CDB439C9263501/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DougBrowning_0-1647289435934.png" alt="DougBrowning_0-1647289435934.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Second repeat is the same&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DougBrowning_1-1647289466300.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/36293i9D964342A26E24DF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DougBrowning_1-1647289466300.png" alt="DougBrowning_1-1647289466300.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3rd repeat see how the last value is not on the list.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DougBrowning_2-1647289520044.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/36294iD4FAED9EF8B128EA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DougBrowning_2-1647289520044.png" alt="DougBrowning_2-1647289520044.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I maybe got around it by counting a field in another field after the list and then checking that field to adjust my check.&amp;nbsp; May not make sense but it seems that the order matters.&amp;nbsp; So if I count a field before that field I do not get the count you are on but if I count it after I do get it.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 14 Mar 2022 20:27:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/once-join-work-differently-on-the-first-repeat/m-p/1153525#M41292</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2022-03-14T20:27:21Z</dc:date>
    </item>
    <item>
      <title>Re: once(join()) work differently on the first repeat</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/once-join-work-differently-on-the-first-repeat/m-p/1155993#M41440</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/16421"&gt;@DougBrowning&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Does this appear to be new or different behavior with the recent 3.14 release, or did you see the same thing before with 3.13?&lt;/P&gt;&lt;P&gt;Are you able to send us this form (updated copy) so we can take a closer look?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Phil.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Mar 2022 08:34:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/once-join-work-differently-on-the-first-repeat/m-p/1155993#M41440</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2022-03-22T08:34:38Z</dc:date>
    </item>
    <item>
      <title>Re: once(join()) work differently on the first repeat</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/once-join-work-differently-on-the-first-repeat/m-p/1156097#M41455</link>
      <description>&lt;P&gt;I think new to 3.14 but not sure.&amp;nbsp; I had to change the code since 3.14 broke my dups check trick.&amp;nbsp; I ended up having to code around it by checking if it was the first repeat.&amp;nbsp; This was actually hard since I had to count a field that was after the constraint field - which took a few hours to track down.&lt;/P&gt;&lt;P&gt;if(${TempCount}=0, 1,${Species}='' or contains(${Species}, "XXXX") or not(contains(${AllPlantsCheck}+",",${Species}+",")))&lt;/P&gt;&lt;P&gt;I will email you the form.&amp;nbsp; Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 22 Mar 2022 14:05:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/once-join-work-differently-on-the-first-repeat/m-p/1156097#M41455</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2022-03-22T14:05:45Z</dc:date>
    </item>
    <item>
      <title>Re: once(join()) work differently on the first repeat</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/once-join-work-differently-on-the-first-repeat/m-p/1156520#M41481</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/16421"&gt;@DougBrowning&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Got your email, we will take a look and get back to you.&lt;/P&gt;&lt;P&gt;Phil.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2022 05:47:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/once-join-work-differently-on-the-first-repeat/m-p/1156520#M41481</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2022-03-23T05:47:19Z</dc:date>
    </item>
    <item>
      <title>Re: once(join()) work differently on the first repeat</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/once-join-work-differently-on-the-first-repeat/m-p/1401229#M55784</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/16421"&gt;@DougBrowning&lt;/a&gt;&amp;nbsp;and Phil. Was this ever resolved? I am having the same issue. Thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2024 23:23:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/once-join-work-differently-on-the-first-repeat/m-p/1401229#M55784</guid>
      <dc:creator>jrowe19</dc:creator>
      <dc:date>2024-03-26T23:23:58Z</dc:date>
    </item>
    <item>
      <title>Re: once(join()) work differently on the first repeat</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/once-join-work-differently-on-the-first-repeat/m-p/1410367#M56215</link>
      <description>&lt;P&gt;Update to myself.&amp;nbsp; 2 years later and it is still doing it.&amp;nbsp; I finally found a fix.&amp;nbsp; If you set your count field that has a calc of 1 to also have a default value of 1 then the repeats calc properly.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2024 16:13:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/once-join-work-differently-on-the-first-repeat/m-p/1410367#M56215</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2024-04-16T16:13:55Z</dc:date>
    </item>
    <item>
      <title>Re: once(join()) work differently on the first repeat</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/once-join-work-differently-on-the-first-repeat/m-p/1548585#M59637</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/16421"&gt;@DougBrowning&lt;/a&gt;&amp;nbsp;Im trying to create a very similar survey and struggling to understand using Once() in repeats. Would you be happy to share XLS form to help me understand how it works properly?&lt;/P&gt;&lt;P&gt;Josh&lt;/P&gt;</description>
      <pubDate>Tue, 15 Oct 2024 08:51:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/once-join-work-differently-on-the-first-repeat/m-p/1548585#M59637</guid>
      <dc:creator>JoshB123</dc:creator>
      <dc:date>2024-10-15T08:51:30Z</dc:date>
    </item>
    <item>
      <title>Re: once(join()) work differently on the first repeat</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/once-join-work-differently-on-the-first-repeat/m-p/1548810#M59645</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DougBrowning_0-1729020169220.png" style="width: 822px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/117278i7460B47E03E65D36/image-dimensions/822x37?v=v2" width="822" height="37" role="button" title="DougBrowning_0-1729020169220.png" alt="DougBrowning_0-1729020169220.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Just have a field with 1 in it then a second field is once(count())&lt;/P&gt;</description>
      <pubDate>Tue, 15 Oct 2024 19:23:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/once-join-work-differently-on-the-first-repeat/m-p/1548810#M59645</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2024-10-15T19:23:20Z</dc:date>
    </item>
    <item>
      <title>Re: once(join()) work differently on the first repeat</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/once-join-work-differently-on-the-first-repeat/m-p/1548931#M59649</link>
      <description>&lt;P&gt;Thanks, I figured out I wasn't actually needing to use the once() function. I wanted to have a select multiple that populated into repeats but also updated itself when the select multiple list was changed, but regardless of the order they were selected.&lt;/P&gt;&lt;P&gt;Instead I used this:&amp;nbsp;selected-at(${species_choice},position(..)-1)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JoshB123_0-1729073306141.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/117301i27994A6D4E150B47/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JoshB123_0-1729073306141.png" alt="JoshB123_0-1729073306141.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2024 10:09:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/once-join-work-differently-on-the-first-repeat/m-p/1548931#M59649</guid>
      <dc:creator>JoshB123</dc:creator>
      <dc:date>2024-10-16T10:09:46Z</dc:date>
    </item>
    <item>
      <title>Re: once(join()) work differently on the first repeat</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/once-join-work-differently-on-the-first-repeat/m-p/1548968#M59651</link>
      <description>&lt;P&gt;position can cause looping in your form so watch out for that.&amp;nbsp; In Connect open your form and then wait a minute or two and see if this symbol pops up in the upper right corner.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DougBrowning_0-1729082246372.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/117308i8590880A65D46A68/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DougBrowning_0-1729082246372.png" alt="DougBrowning_0-1729082246372.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I had to take position out of all my forms as it would loop to infinity and started to cause slow or crashing forms.&amp;nbsp; It will seem ok at first, but if that symbol shows up do not ignore it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2024 12:39:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/once-join-work-differently-on-the-first-repeat/m-p/1548968#M59651</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2024-10-16T12:39:27Z</dc:date>
    </item>
    <item>
      <title>Re: once(join()) work differently on the first repeat</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/once-join-work-differently-on-the-first-repeat/m-p/1549128#M59669</link>
      <description>&lt;P&gt;Thanks for the heads up, i've tested and can not find any issue's so far, although ive got the once() method working now with your help. Does the looping happen every time, is something I should avoid to be safe?&lt;/P&gt;&lt;P&gt;Another frustrating thing I found was the app only submits the first repeat if I don't manually cycle through all the repeats, is this something you've found a solution to at all?&lt;/P&gt;&lt;P&gt;Josh&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2024 16:33:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/once-join-work-differently-on-the-first-repeat/m-p/1549128#M59669</guid>
      <dc:creator>JoshB123</dc:creator>
      <dc:date>2024-10-16T16:33:53Z</dc:date>
    </item>
    <item>
      <title>Re: once(join()) work differently on the first repeat</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/once-join-work-differently-on-the-first-repeat/m-p/1549217#M59674</link>
      <description>&lt;P&gt;No you pretty much always have to cycle through the repeats.&amp;nbsp; That is why I gave up on what you are trying to do.&amp;nbsp; Its more complicated with no real benefit.&lt;/P&gt;&lt;P&gt;I think it was position in a calc but not sure.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2024 19:08:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/once-join-work-differently-on-the-first-repeat/m-p/1549217#M59674</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2024-10-16T19:08:14Z</dc:date>
    </item>
  </channel>
</rss>

