I am trying to use selected-at to force user to enter data in a certain order.
At the beginning of the survey, the user is asked which species were present at the site and how many quadrats were sampled. Based on these answers, a set number of nested repeats appropriately labeled are generated.
The calculation uses the position within the repeat to assign species ID and Quadrat order. It works fines in the field app and Survey123 Connect, but the web form does not recognize the result of the calculation.
See screenshot in Survey123 Connect and attached xls. The issue happened in both repeats at line 27 and 34.

