Hi,
My survey has an "enforced" timed task, meaning that I want my participants to complete a task within 60 seconds, not more. However, the built-in timer always restarts (gives a whole 60 seconds again) whenever the page is refreshed.
Qualtrics support team did not address my question and directed me here instead. I also looked at some JS solutions provided by others, but none of these codes worked in my survey.
Any help would be much appreciated!!
Hmm, that's a tough one.. First thought would be to change your JavaScript. Have the value of the timer written out to a variable onUnload. Change your OnLoad (or OnReady) code to check for a previous value. If none, timer starts at 0 indicating a first page load. If the variable has a value, it means the page has been refreshed and you want the timer to start at the same time the page was refreshed. So your page loads, variable timerVal is blank, your timer starts at 0 seconds. 12 secodns go by and the user refreshes the page. 12 gets saved in timerVal and the page refreshes. When it loads a second time, JS checks timerVal and sees the 12. Your timers needs to start at 12.
Hope this helps!
Leave a Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.