Delay next button for ALL blocks | XM Community
Skip to main content
Solved

Delay next button for ALL blocks

  • May 19, 2020
  • 4 replies
  • 36 views

Hello,
I am able to delay the next button for a block. Is there a way to delay the Next Button for all blocks by applying the JavaScript code to all blocks? I have a lot of blocks and manually inputting the JS code is very time-consuming,

Thank you in advance,

Best answer by rondev

Paste this code in the source view of header:

4 replies

rondev
Level 6 ●●●●●●
Forum|alt.badge.img+22
  • Level 6 ●●●●●●
  • May 19, 2020

It would be good if you can paste the code here.
To apply to all blocks, just paste the code in the header(present under look and feel) -> source view under script tag.


  • Author
  • May 19, 2020

Qualtrics.SurveyEngine.addOnReady(function() {
  this.hideNextButton();
  setTimeout(function() { jQuery("#NextButton").show(); },5000);
});

I clicked on Look and Feel --> Header --> Source and copied the code, but unfortunately it's not working. Can you be more specific and maybe suggest an alternative route? Thank you!


rondev
Level 6 ●●●●●●
Forum|alt.badge.img+22
  • Level 6 ●●●●●●
  • Answer
  • May 19, 2020

Paste this code in the source view of header:


  • Author
  • May 19, 2020

That worked, thank you again!