Timing question restarts on F5/uploading page | XM Community
Skip to main content
Solved

Timing question restarts on F5/uploading page

  • September 28, 2018
  • 3 replies
  • 19 views

Hello everybody, I have a survey with a specific question that must be seen by the respondent for several minutes. Basically the respondent is supposed to wait 10 minutes before he's allowed to go to the next question. I added a timing question that counts 10 minutes, and then the survey auto advances to the following question. The problem is that the timer restarts from the beginning if the respondent accidentally presses F5 or uploads the page or closes the browser and clicks again on the link to reopen the survey. Is there a way to count the time and not lose the timing even though the browser is closed/uploaded? Thank you

Best answer by dsweeney

I would try recording and then updating the value as embedded data. You could add some JavaScript to the page to update the value at regular intervals and then use the embedded value as the start of the timer when the question loads/reloads. This would work with individual links, but possibly not for an anonymous link. You might need to add some cookie behaviour in that instance.
View original

3 replies

Forum|alt.badge.img+5
  • Level 2 ●●
  • 21 replies
  • Answer
  • October 2, 2018
I would try recording and then updating the value as embedded data. You could add some JavaScript to the page to update the value at regular intervals and then use the embedded value as the start of the timer when the question loads/reloads. This would work with individual links, but possibly not for an anonymous link. You might need to add some cookie behaviour in that instance.

  • Author
  • 2 replies
  • October 12, 2018
Thank you for the reply @dsweeney , I'll try to apply what you suggested! 😀

SaurabhPujare_Ugam
QPN Level 5 ●●●●●
Forum|alt.badge.img+18
Hey @Giulia_Posi , For the refreshing issue you can try this Hope it helps 😀

Leave a Reply