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

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

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:




Thank you!! That worked beautifully!


Leave a Reply