exclude question from loop and merge | XM Community
Skip to main content
Question

exclude question from loop and merge


Forum|alt.badge.img+2

I am using loop and merge to loop over all the questions in my block except for the last question. How can I exclude one question from loop and merge? Please feel free to include any JavaScript code.

2 replies

TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • 5934 replies
  • June 5, 2023

You could move the last question to a block after the loop & merge block (not a loop & merge block). I’m kind of guessing at your intent since it isn’t clear.


Forum|alt.badge.img+5
  • QPN Level 2 ●●
  • 10 replies
  • June 5, 2023

Add a field with values 1 and 2, and if you want to show to any specific iteration just add a display logic to show when the value is 1.


Leave a Reply