Multiple choice questions with answers out of a group | XM Community
Skip to main content
Question

Multiple choice questions with answers out of a group

  • November 10, 2023
  • 2 replies
  • 45 views

Forum|alt.badge.img+3

Hello,

I have 30 texts and I want to create multiple choice questions where every time two of those texts show up. 

 

I want them all to show up two times if this is possible. This makes 15 pairs, so 30 questions in total. 

Any idea how I can do this so that every participant sees different pairs? 

 

Thank you!

2 replies

Forum|alt.badge.img+3
  • Author
  • Level 2 ●●
  • 14 replies
  • November 11, 2023

Anyone?


TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • 6084 replies
  • November 12, 2023

@iris1200,

You can use JavaScript to randomly assign text to pairs of embedded data fields a1/b1, a2/b2, …, a30/b30.  Then pipe those embedded data fields into loop & merge fields, and pipe the loop & merge field into your multiple choice question (i.e., ${lm://Field1} and ${lm://Field/2}).