Pipe in a Page number | XM Community
Solved

Pipe in a Page number

  • 8 October 2019
  • 3 replies
  • 7 views

Hello everyone,

I have a survey, in which participants see 10 pictures that they should evaluate (number between 1 - 100 in a text field). The order of the pictures is randomized. However, I want to give the pictures a heading "Picture 1", "Picture 2" etc. This does not make sense if the order is randomized. Is there an option to replace the specific number by a piped text, which gives out a number of pages, which have been already seen by the participants?

Thank you very much!
icon

Best answer by TomG 8 October 2019, 12:43

View original

3 replies

Userlevel 7
Badge +27
Put your pictures/questions in a loop & merge block (which you should do anyway), randomize the loop & merge, and pipe the CurrentLoopNumber.
Thank you very much for your advice. I tried to do so, but the picture is not shown in a correct way, even though I use <img src="${lm://Field/1}"> for example. It only shows a small square instead. I found this comment https://www.qualtrics.com/community/discussion/1795/images-from-library-in-loop-and-merge-fields which says that it is not possible to use pictures in merge & loop fields?

Would be happy to get some advice. Thank you very much!
Userlevel 7
Badge +27
You can use html to include images in your loop and merge. You can put the entire `<img>` tag in the loop & merge field, or include the `<img>` tag in your question html and pipe in the variable img attributes (e.g., src, etc.)

Leave a Reply