Rolling a die and reporting the result in 10 rounds | XM Community
Skip to main content

Hello,
I am trying to let participants roll a die and report the result themselves (but also that I can check the result) in 10 rounds (10 different dices). In each of the rounds, they must roll the die and report the outcome, but they must not be able to roll the die multiple times. So I have to make sure that they can only throw it once in every round and that I can see the result, but I have to let them do this 10 times. Does anyone have a solution to this? I now figured out how to roll the die but I can only see the die roll of the last round, and not of all rounds..
Thank you in advance, you are really helping me out!

Hi,

the answer to your first question is that you disable the element (most likely the button) which triggers the casting of the dice.

element.disabled =true

the answer to your second part:
create 10 embedded data fields, score_round_1 to score_round_10,
the most efficient way might be to use the loop and merge block with 10 iterations.

set the embedded data fields to the score the respondent cast in the respective round
and eventually, show all 10 embedded data fields on one page

hope this helps

Best regards

Rudi


Leave a Reply