I have a block of 24 Qs all on the same page. I want it to auto-advance after 4 minutes but not before.
So far, I have added a timer function at the beginning, counting down from 4 mins, and auto advancing thereafter. I have also hidden the next button with JS code on the first and the last questions (I didn't know which to put it on). This does auto-advance after 4 minutes.
The problem is that if you answer the last question (24) at any point before the 4 minutes are up, it auto advances to the next page. I want to delay any advance until the 4 minutes are up.
Can anyone help please? Thank you very much!
Solved
Auto-advance, timer and delay advance
Best answer by AcademicNeil
Hi Rondev,
I've worked it out thanks. Rather stupidly, the JS code I had to hide the advance button also included an auto-advance when the last answer is given. I'm an idiot. Thanks for your help!
Leave a Reply
Rich Text Editor, editor1
Editor toolbars
Press ALT 0 for help
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.