Make question disappear after delay

 

Add the following to your Javascript editor in Qualtrics: 

(click the link in upper righthand corner to copy)

Qualtrics.SurveyEngine.addOnload(function()
{
    this.getQuestionContainer().show();
});
Qualtrics.SurveyEngine.addOnReady(function()
{
	var delayTime = 10000 //This is the time of delay
    var that = this;
    setTimeout(function(){that.getQuestionContainer().hide()}, delayTime);
});
Qualtrics.SurveyEngine.addOnUnload(function()
{
	/*Place your JavaScript here to run when the page is unloaded*/
});

 

See it in action:

(refresh the page to see it again)

 

Leave a Reply

Your email address will not be published. Required fields are marked *