Set embedded data and loop and merge | XM Community
Skip to main content

Hi guys,
I have a problem with embedded data and loop and merge on the Stroop test.
when the respondent answering the survey I can see that the immediate feedback during the test is working correctly but when I receive the final feedback, it mentioned for every question that they are correct although not all of them are correct. I'll put my loop and merge picture plus the codes for the feedback part here.

Please help me I am really stuck in a bad situation.
Screenshot (2).png

Screenshot (3).png

You need to create same number of embedded data as the number of loops. Then you can in JS create an array with all embedded data names. Based on loop number piping you can call the respective embedded data from the array and set its value.


Leave a Reply