Hi everyone,
In my survey I set up 5 Loop&Merge fields, containing 8 images each. My survey logic will display only one Loop&Merge field to each participant. The issue is that I would like to present the 8 images of each Field in random order, but I also need to know the order in which each image is displayed. Unfortunately, Qualtrics does not export this information, is there a way I could access it?
Thanks so much for your help!
Record loop order of Loop&Merge question
Best answer by ahmedA
From what I understand, you have set up loop and merge in a way that a person will see 8 images. The 4 other fields are meta data.
If this is the case, then one way to go about it would be, to create an embedded variable which tracks the display order. Create a loop and merge field which is a unique identifier for each image. Something like Field 6 (img1, img2 ...). Add the following JS to the loop and merge question:
Qualtrics.SurveyEngine.addOnReady(function()
{
var_name = "${lm://Field/6}" + "_display_order";
Qualtrics.SurveyEngine.setEmbeddedData(var_name,"${lm://CurrentLoopNumber}");
});
This will create 8 embedded variables with names (img1_display_order, img2_display_order etc.). Their values will be from 1 to 8 indicating when the order in which they were displayed to the participants.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
