I would like to record the repeat number when collecting repeats. In other words, the '1' from 1 of 2 for question 1 and when I am question 2, the '2'. If I submit 10 repeats, I would like them numbered 1-10 in the feature class.
Solved! Go to Solution.
Two ways.
The older way is pick a field in the repeat and do once(count(field)). Often I make a dummy filed with a value of 1 and count that. Been using this for years.
The new way requires 3.12 which is still beta for now. Then you can use the new function position(..) for the current repeat index. Or position(${repeatname}) if you have multiple repeats it seems to need this.
Hope that helps.
Two ways.
The older way is pick a field in the repeat and do once(count(field)). Often I make a dummy filed with a value of 1 and count that. Been using this for years.
The new way requires 3.12 which is still beta for now. Then you can use the new function position(..) for the current repeat index. Or position(${repeatname}) if you have multiple repeats it seems to need this.
Hope that helps.