Insert sentences randomly into questions | XM Community
Skip to main content
Question

Insert sentences randomly into questions

  • August 29, 2020
  • 1 reply
  • 7 views

Forum|alt.badge.img

Hello, 
I carry out a study in which I present a discussion of 8 people. 
Each person says one sentence.
I would like to keep the order of the sentences constant but randomize the people presented. 

For example: 
1. I am Math.
2. My name is John.
... 
8. 
(It's not just words but 8 small sentences) 

"Hello [insert one of the 8 people here] blah-blah-blah-blah."
"Hi [insert one of 8 people here] blah-blah-blah-blah."
... 
Each of the eight person must be introduced only once. 

Thank you for your help, it is very helpful.

Have a nice day ! 

1 reply

rondev
Level 6 ●●●●●●
Forum|alt.badge.img+22
  • Level 6 ●●●●●●
  • August 30, 2020

Either we can use javascript for such setup or we can create 8 embedded and assign them values using randomizer.