About randomizing question order and answer order | XM Community
Skip to main content
Question

About randomizing question order and answer order

  • May 26, 2022
  • 1 reply
  • 8 views

Hi Community,
I'm running into a problem with randomized questions. We have 3 questions Q1, Q2, and Q3. In the end, we have a Q4 asking which question you like the best. The answers for Q4 are apparently Q1, Q2, and Q3.
The thing is we need to keep the questions order for Q1-Q3 the same as the answer order for Q4. That is if the question order is Q3, Q1, Q2, then the answer order for Q4 must be Q3, Q1, Q2 as well.
Any idea on how to achieve this?

1 reply

Shashi
Level 8 ●●●●●●●●
Forum|alt.badge.img+34
  • Level 8 ●●●●●●●●
  • 654 replies
  • May 28, 2022

If the questions are in different page then record the order of question in an embedded data and then read the embedded data in JS on Q4 to rearrange the option accordingly.