Auto-advance not working properly | XM Community
Skip to main content
Solved

Auto-advance not working properly

  • October 30, 2022
  • 2 replies
  • 260 views

Forum|alt.badge.img+1

Hi community!
I'm designing a survey with auto-advance (after 2 minutes) on all questions. I noticed that the time it takes to auto-advance is not fixed to 2 minutes, sometimes it takes 2 and a half minutes, sometimes 5 minutes, and sometimes auto-advance does not work at all. Anyone ran into similar problems before?
Any help is highly appreciated.
Thank you!

Best answer by Deepak

DHE
I haven't faced an issue as such. Not sure what code you're using to auto-advance, but if you need help. You can use the below code it worked for me.
Qualtrics.SurveyEngine.addOnload(function()
{
/*Place your JavaScript here to run when the page loads*/
var that= this;
setTimeout(function() {
that.clickNextButton(); 
}, 120000);
});
Hope it helps!

2 replies

Deepak
QPN Level 8 ●●●●●●●●
Forum|alt.badge.img+46
  • 1555 replies
  • Answer
  • October 30, 2022

DHE
I haven't faced an issue as such. Not sure what code you're using to auto-advance, but if you need help. You can use the below code it worked for me.
Qualtrics.SurveyEngine.addOnload(function()
{
/*Place your JavaScript here to run when the page loads*/
var that= this;
setTimeout(function() {
that.clickNextButton(); 
}, 120000);
});
Hope it helps!


Forum|alt.badge.img+1
  • Author
  • 6 replies
  • October 30, 2022

https://community.qualtrics.com/XMcommunity/discussion/comment/51511#Comment_51511Thanks, I was using the timer auto-advance instead of JS. Now your proposed code works great!