How to export all fields within loop and merge | XM Community
Skip to main content
Question

How to export all fields within loop and merge


Forum|alt.badge.img+1

I have a task in which participants are shown images side by side and have to answer some questions. This is done through loop and merge in which filed one is one image and field two is another image. These images are shown in pairs. When I export the data, the only thing that shows up is image ID from field 1 and there is no way for me to score the task because I don’t what the other image ID was for field 2. Is there a way I can achieve this? 

6 replies

TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • 5926 replies
  • February 6, 2025

The pairs are fixed in the loop and merge. So the image id from field 1 always refers to the same pair (image in field 1 and image in field 2).


Forum|alt.badge.img+1

Is there a way for me to export the data so both fields show up? Even if it’s editing the survey. 


TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • 5926 replies
  • February 6, 2025

You could id both images in field 1 (e.g., id 1 / id 2) then put single image ids in fields 2 and 3 to use in piping.


Forum|alt.badge.img+1

My only concern is how the images will be displayed for the participant as I’m using text/graphic option. The loop and merge is there so that the images don’t get entered manually and they are done in a randomized order. I will try this option though!


Forum|alt.badge.img+1

I tried your suggestion but it didn’t work. The issue is that I’m using the loop and merge fields to show images as well as a randomizer. If i enter the image pair IDs in field one then there is a blank screen on the participant’s end (I’m using the text/graphic question within the block) because the program does not recognize this as an image. 


TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • 5926 replies
  • February 7, 2025
strugglingstudent wrote:

I tried your suggestion but it didn’t work. The issue is that I’m using the loop and merge fields to show images as well as a randomizer. If i enter the image pair IDs in field one then there is a blank screen on the participant’s end (I’m using the text/graphic question within the block) because the program does not recognize this as an image. 

I don’t quite follow what you are doing. I find it easiest to add the image urls to the loop and merge fields and pipe them into html:

<img src="${lm://Field/2}">

 


Leave a Reply