Horizontal line divider for a loop & merge question | XM Community
Skip to main content

Horizontal line divider for a loop & merge question

  • February 9, 2023
  • 2 replies
  • 86 views

Forum|alt.badge.img+8

Hi,
I have a loop & merge block and have added this code to the applicable questions:

This code is SOLID for non-loop & merge questions. However, I cannot figure out why it is not working for loop & merge. What is even more odd is that it works in "Preview Question" but not "Preview survey" - screenshots below:
Preview Question:
image.pngPreview Survey:
image.png

2 replies

qualtrics_nerd
Level 5 ●●●●●
Forum|alt.badge.img+19
  • Level 5 ●●●●●
  • February 9, 2023

Hi MaggieGentry ,
It is happening because in loop the the id of the question changes .
For Example :
In your case if id=#QID14 then in loops for each loop reruns the id changes as below
id=#2_QID14 for 2 nd loop field
similarly, for nth loop field , id=#n_QID14.
You can use below updated style tag to work for all the question in the loop:




Forum|alt.badge.img+8
  • Author
  • Level 2 ●●
  • February 9, 2023

Thank you!! That worked beautifully!