Can you manipulate the order of loop iterations | XM Community
Skip to main content
Solved

Can you manipulate the order of loop iterations


Rudi
QPN Level 3 ●●●
Forum|alt.badge.img+16
  • QPN Level 3 ●●●
  • 162 replies

Hi all,

 

I have a loop based on a number of brands. I will select two of them  in order to be shown in the loop.

The problem is that in the first iteration I need to ask more questions than in the second loop.

Now I wonder if I can manipulate the order of the brands with in the loop. Somehow this should be possible because we can randomise the loop order. 

 

Any hints, tips, solution are welcome.

 

Thanks a lot and best regards

Rudi

 

Best answer by TomG

 @Rudi - If you base the loop off the displayed choices in a MC question, you can used Advanced Randomization and Display logic on that question and it will carry forward to the loop. Don’t know if that helps your specific need, but it gives you a lot more randomization options.

View original

4 replies

Shivamvig_sv
Level 6 ●●●●●●
Forum|alt.badge.img+14
  • Level 6 ●●●●●●
  • 69 replies
  • May 30, 2023

krbhavya
Level 6 ●●●●●●
Forum|alt.badge.img+20
  • Level 6 ●●●●●●
  • 172 replies
  • May 31, 2023

Hi,

I think advanced randomization can also be used 

 


TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • 5926 replies
  • Answer
  • May 31, 2023

 @Rudi - If you base the loop off the displayed choices in a MC question, you can used Advanced Randomization and Display logic on that question and it will carry forward to the loop. Don’t know if that helps your specific need, but it gives you a lot more randomization options.


Rudi
QPN Level 3 ●●●
Forum|alt.badge.img+16
  • Author
  • QPN Level 3 ●●●
  • 162 replies
  • June 2, 2023
TomG wrote:

 @Rudi - If you base the loop off the displayed choices in a MC question, you can used Advanced Randomization and Display logic on that question and it will carry forward to the loop. Don’t know if that helps your specific need, but it gives you a lot more randomization options.

 

Hi Tom,

thanks a lot. The carry forward was my missing link. And with JS the randomization options become infinte,😉

Best regards

Rudi


Leave a Reply