Timing question restarts on F5/uploading page | XM Community
Solved

Timing question restarts on F5/uploading page

  • 28 September 2018
  • 3 replies
  • 6 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
icon

Best answer by dsweeney 2 October 2018, 13:07

View original

3 replies

Userlevel 2
Badge +5
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.
Thank you for the reply @dsweeney ,
I'll try to apply what you suggested! 😀
Userlevel 6
Badge +18
Hey @Giulia_Posi ,

For the refreshing issue you can try this

Hope it helps 😀

Leave a Reply