How to randomize timed questions in a block? | XM Community
Skip to main content

I have 40 questions in my block that are now randomized and shown in different pages, but I would like to add the same time limit for each question, is there a way of doing it using the advanced randomization? When I tried using the time question and page breaks the randomization messed with all questions.
Thanks!

musresearch
You can include the below JS in all your questions where you want the time limits or include it in header> source. Currently, I have kept the time limit to 5 seconds, you can change it accordingly. You can avoid using timer question.
For header: (I would recommend this if you want it on all pages)

For Question:

Qualtrics.SurveyEngine.addOnload(function()
{
/*Place your JavaScript here to run when the page loads*/
setTimeout(function() { jQuery('#NextButton').click();
  }, 5000);
});



Hope it helps!


musresearch,
If the time limit is the same for all questions, a way you can use the timing questions it to use advanced randomization to only randomize the non-timing questions and set it to show two questions per page (a randomized question and the fixed timing question).


Thank you Deepak and TomG ! Both worked, but I ended using Tom's solution.


Leave a Reply