Connect vs Web Behavior Changes When Dealing with Repeats

378
1
05-03-2024 11:49 AM
jzibbell_boise
Occasional Contributor

All of my users will be using the web version of the survey. I built it in connect to take advantage of repeats. The behavior works perfectly in connect, but in the web it's not working correctly. 

I have a repeat within a repeat, and I have the parent repeat fields within a label of my child repeat, they are coming from a hidden field that I've calculated to format the date properly. If I add one parent repeat and one child repeat, I can create another parent repeat with the correct dates populating. If I add one parent repeat and two child repeats, when I create another parent repeat the dates are no longer pointing to the most recent parent repeat.

I have attached my xlsx form.

jzibbell_boise_0-1714761744247.png

 

jzibbell_boise_1-1714761772799.png

jzibbell_boise_2-1714762082799.png

 

 

 

0 Kudos
1 Reply
RobertAnderson3
MVP Regular Contributor

You might need to look into using the position(..) function to make sure it's querying the right one. If you don't specify I believe it just looks at the first repeat position. 

There's some more info to be found here: Repeats—ArcGIS Survey123 | Documentation