Logic from loop | XM Community
Skip to main content

Logic from loop

  • March 29, 2024
  • 4 replies
  • 45 views

Forum|alt.badge.img+2

I have 5 loops and its randomizing. I want to show one question if loop 3. How can i set this logic?

4 replies

TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • 6083 replies
  • March 29, 2024

By loop 3, do you mean the 3rd loop shown or the 3rd row in your loop & merge setup?


Forum|alt.badge.img+2
  • Author
  • Level 2 ●●
  • 10 replies
  • April 1, 2024
Q3 is a multi-select question and loop rotates based on question Q3. Suppose, I select A,C,D,E and loop shows for A,C,D,E. Q4 will show for all loops but Q5 will show, only when loop-D comes.
How i set this logic?

 


Forum|alt.badge.img+21
  • 317 replies
  • April 1, 2024

Hi @Abdus Salam,

 

I am unsure if custom coding is easier or possible as i am not good in custom codes.

You can try setting up the display logic for Q5 manually.

(It can be very tedious as you will need to set the condition for each scenario that the 3rd loop can occur.) 

Condition for Q5 to appear for

1) “Various combinations”

2) Loop and Merge with expected 3rd loop as current loop.

An example as attached.

  


Forum|alt.badge.img+2
  • Author
  • Level 2 ●●
  • 10 replies
  • April 3, 2024

Thank you @Chee Heng_SZ  @TomG