Skip to content

Latest commit

 

History

History
17 lines (14 loc) · 501 Bytes

Hide Question for some time.md

File metadata and controls

17 lines (14 loc) · 501 Bytes

Hide the question for some time

Hides the Question and Choices for pre-defined amount of time and then displays it.

Qualtrics.SurveyEngine.addOnload(function () {
	this.questionContainer.hide(); // Hide the question as soon as the page loads
});

Qualtrics.SurveyEngine.addOnReady(function () {
	let delayTime = 6000; //This is the time of delay in ms
	let that = this;
	setTimeout(function () {
		that.getQuestionContainer().show();
	}, delayTime); // Function to show the question
});