Hi
I've just upgraded my Survey123 Connect app from 3.15 to 3.18. In doing so a lot of my Javascript functions sourcing repeat variables and the position are not working. It seems now the Position(..) function is passing an object instead of a number. I tested by passing the position directly back to a text field and get "[object Object]". The function I used was simply:
function getPosition(pos){ return pos; }
referenced by:
pulldata("@javascript", "survey_func.js", "getPosition", ${shot_repeat}, position(..))
Is there a new way of using Position(..) in Connect 3.18? I'm only building mobile surveys so not worried about web forms.
Cheers