I have a total of 200 images. Each image has 20 descriptions. First, I want to randomize these 20 descriptions and split them into 4 groups (each containing 5) such that the groups are unique for every user. In each trial, I want the user to see an image followed by 5 of its descriptions as multiple choice. In total, there will be 800 trials (200 images * 4 description groups per image), i.e., each user will see each image 4 times with a different set of descriptions. All the 800 trials must be randomized (such that the same image does not appear in consecutive trials).
I am new to both Javascript and Qualtrics. I was trying to upload my data ( a JSON file containing image URLs and 20 descriptions for each image) into my survey using javascript and executing my randomization process. Still, I am not exactly sure how to continue with it. I also tried using loop and merge as shown in (https://community.qualtrics.com/XMcommunity/discussion/comment/11657#Comment_11657), but I don't know how to ensure each user would see all 20 descriptions and how I would randomize the 4 groups with other images in the dataset.
I am not sure how to proceed forward, and any help would be appreciated. Thank you for your time
Question
Advanced randomization using javascript
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
