I have a loop and merge block where I generate different images in the addOnReady function. Since the loop runs the same code, I have only one embedded data field, I called it 'userChoice1' and the code I used is:
`Qualtrics.SurveyEngine.addEmbeddedData('userChoice1', confirmFinal() );`
I want to record the variable 'userChoice1' in every single iteration of the loop, but I can only record the last one with this code. Can this embedded field be like a array where I can push in data on every loop? Thanks.
userChoice1 is also set as a "Number Set" type embedded data.
Thanks!
Best answer by fleb
View original