Displaying a question after respondent answered a random number of questions | XM Community

Displaying a question after respondent answered a random number of questions

  • 12 August 2022
  • 1 reply
  • 10 views

Badge +2

Hello,
I am studying the role of fatigue in standardized testing.
My survey has two parts: First I ask participants some questions, including how tired they currently are and how tired they think they will be after answering N math exam questions (where N is a random integer between 1 and 10, stored as embedded data).
The second part is a 20-question math exam. As of now, the whole exam is in one block. Crucially, the order of the exam questions is randomized within the math block.
This is what the flow looks like:
image.pngAnd here is the math randomization:
image.png
I want to ask participants how fatigued again once they respond to N of the math questions (the same N as before). The tricky part is that the math questions are displayed in a random order, so a priori I don't know which question will be the Nth one.
Based on responses to similar questions in this forum (specifically, this one), I believe that there is a way to do this using blocks. I can create one block for each math question, store a counter as embedded data that accumulates after each block, and show the fatigue question once the counter is equal to "N+1".
What I would like to know is if there is a way to do this without creating a block for each math question (i.e., keeping all math questions in one block).
Thanks!


1 reply

Userlevel 7
Badge +19

Simply - no, not out-of-the-box.
There is a question randomization feature for blocks that works well. The "advanced randomization function" can help you do a lot of custom things - but it doesn't accept embedded data as an input. So there is no way to tell the block randomizer "Display N questions."

Leave a Reply