I have repeatable section (not repeater) and inside it I have ouput field. How can I put the repeat index to this output? I want to bind outputs with index of current iteration.
Not obvious because the xxf:repeat-position() function works in the UI only, and the calculated values work in the model only.
xxf:repeat-position()
You could make changes by hand and write: