I am administering a standardized test in the middle of my survey but the standardized test is required to have a limit of 20 minutes and each question must be on a separate page. I have read through some of the other pages but am having trouble finding the right code for what I am trying to do. I have some coding experience but not a ton so any advice or ideas would be appreciated. Thank you!
Page 1 / 1
@CogLab , you will need to use javascript to check a timer variable every second, minute, whatever to see if the timer value is greater than 20 minutes. You could use the setInterval function and make sure you save the timer value to piped text to pass between pages in your survey so that it doesn't reset each time you advance to the next survey page. Reference your javascript externally (as opposed inserting it into the question fields, which would leave you with a mess on your hands) unless your entire survey is on one page, in which case you can embed within a question field just as easily.
Leave a Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.