Delay a quesiton from appearing | XM Community
Skip to main content
Solved

Delay a quesiton from appearing

  • September 13, 2018
  • 3 replies
  • 122 views

I want participants to read a passage and then I want them to respond to a few questions after the passage but on the same page. How do I create a delay to give them time to read the passage and then have the questions appear?

Best answer by Anonymous

Hello @pnaemi ,

Add the following code in js(OnLoad) of the passage question

jQuery("#QID15").hide();
setTimeout(function () {jQuery('#QID15').show();},4000);

Now QID15 is the id of the question you want to ask, replace that QID with your question id and do similar for other Questions you are asking.
View original

3 replies

  • 0 replies
  • Answer
  • September 13, 2018
Hello @pnaemi ,

Add the following code in js(OnLoad) of the passage question

jQuery("#QID15").hide();
setTimeout(function () {jQuery('#QID15').show();},4000);

Now QID15 is the id of the question you want to ask, replace that QID with your question id and do similar for other Questions you are asking.

  • Author
  • 2 replies
  • September 13, 2018
Hi Shashi: is the 4000 time in milliseconds?

  • Author
  • 2 replies
  • September 13, 2018
Disregard, it is in milliseconds. Thank you for your help!!!

Leave a Reply