How can I delay the possibility to answer | XM Community
Skip to main content

Hi,
I want that my participant can see the "answer box" after 2 seconde. They will have only the question text displayed for the two first second.
I found the code for delay the question itself but I can't manage to find how to hide only the answer box
That's the code for delaying the question
Qualtrics.SurveyEngine.addOnload(function()
{
  this.getQuestionContainer().hide();

});

Qualtrics.SurveyEngine.addOnReady(function()
{
  var delayTime = 2000 //This is the time of delay
  var that = this;
  setTimeout(function(){that.getQuestionContainer().show()}, delayTime);  

});

I imagine I should change the "getQuestionContainer" but with what ?

Thank you

Could you change the question text to a Text/Graphic question (with no input available) and then have a text entry question appear after your time limit?


That's a good idea, I will try that thanks !


Leave a Reply