I have an inspection form with repeat. The repeat in the survey contains two questions. The first is about the presence of trees, and the second is about the number of trees (if the first question is Yes). In the repeat, I have a field that takes the value of the second question (if the first question is Yes), otherwise it takes the value 0. I have another field that sums up all the trees.
| type | name | label | calculation | relevant | bind::esri:parameters |
| begin repeat | Tree | <center>Tree | | | |
| select_one yes_no | Trees_Present | Present of trees : | | | |
| integer | Trees_Number | Trees : | | ${Trees_Present} = 'yes' | |
| integer | Trees_Total | Total : | if(${Trees_Present} = "yes", ${Trees_Number}, 0) | | calculationMode = always |
| end repeat | | | | | |
| | | | | | |
| integer | All_Trees | Total trees : | sum(${Trees_Total}) | | calculationMode = always |
When users were filling out the survey recently, they noticed that moving back and forth between repeats to make corrections locked the calculations and the totaled sums could no longer be updated. I have tried calculationMode = always.

I am using Survey123 version 3.22.49.