Select to view content in your preferred language

Entered values in a repeat are removed when navigating back through records

111
1
a month ago
AmeWunderle
Regular Contributor

Using ArcGIS Survey123 Connect version 3.22.49

I have created a repeat within a group that does calculations. The calculations have two settings: 

body::esri:visible = no

bind::esri:parameters = calculationMode=always

A summary of all records is listed in a html table at the bottom of the repeat (outside of the repeat)

The issue I'm facing is that a field worker using the field-app will enter the data into a repeat then move to the next record. Fill data into the second record and perhaps see an error in the summary table below that adds new records each time a repeat is filled in. They will use the back button to navigate back to the first record and all the input values will disappear. 

I tried removing the calculation Mode, setting it to auto and setting it to Manual. There is no change in the behaviour other than the calculations don't change if you set it to Manual even when the input values disappear (when testing this case I obviously set all the hidden and invisible calculation fields to visible so I could see what was happening). 

Has anyone else seen this behaviour before and found a work-around?

0 Kudos
1 Reply
AmeWunderle
Regular Contributor

And of course, as soon as I post this, I figure out the reason. It's due to a calculation field that uses relevant values. As soon as I add an if statement to set a default if the value isn't entered/available, then the overall values don't disappear when you navigate back and forth amongst repeats.

0 Kudos