Hey all, I developed a Survey123 app to do the sea turtle nesting survey for the beach I work on, and everything was running smoothly until I made a recent update.
We are a high density nesting beach, so we mark a subsample of nests (i.e. every 15th loggerhead nest). The way our survey previously worked, is that it would calculate the nest total by 15 to create a nest ID. So Cc1 is really our 15th nest, Cc2 is 30, and so on. We adjust the marking scheme throughout the season based on activity, and changed the calculation for the nest ID field because at that point we had already marked 115 nests, and changing the scheme would throw off nest IDs and calculations. Instead, we changed the calculation to just add 1 to the number of marked nests when you get to the 15th nest of the day to keep the nest IDs sequential.
The issue I have now, is that the nest ID field want s to recalculate every time I make an edit to a nest. We record fates such as predations, hatches, etc on existing marked nests from the inbox, but when adding these, it tried to update the nest ID. i.e.... CC5 hatched, now we have 119 marked, and when trying to update the hatch field on CC5 it tried to change it to CC120. Is there a way to lock this field so it's only calculated on the first entry?
Some things I've tried:
I tried the once function, but it may not be the correct syntax.
The read_only would not do the correct calculation
I tried all the different calculation modes for the "bind::esri:parameters" column and those did not work either.
If anyone has any advice I would greatly appreciate it! I can attach my XLS file if needed.