I am on Moodle 2.5.
This is not possible. At least not yet.
This has been discusse several times in this forum. Sorry, I am not going to retype the answer now. Please Google.
Sorry, not the most helpful post before. There is the key thread https://moodle.org/mod/forum/discuss.php?d=212819 and MDL-35745 is the related tracker issue.
Hopefully we can add this to the Quiz FAQ.
Have a look at How can a Never Submitted quiz be submitted? in the Quiz FAQ
Basically set the quiz to unlimited attempts, then tell it to save previous answers. Log in as the student and retake the quiz -- and submit the quiz.
Then as teacher you can grade it. Yeah this always happens each year. Some student simply closes the browser and thinks that they have submitted the quiz.
But, the key point is, since Moodle 2.3, you have had the option to say that every in-progress attempt is automatically submitted when time expires http://docs.moodle.org/dev/Moodle_2.3_release_notes#Quiz_module . If that is the behaviour you want, then choose that option.
But, you need to choose it before some student fails to submit their attempt.
I often have more than one class taking the same test at different times during the day so remembering to adjust the time is tough.
If they close the browser will it still submit for them?
Unless I am missing, and I usually am, can you not simply duplicate the quiz and set the times for each? You can even set each to become visible as needed.
In the quiz administration block: Group overrides. You can set different close dates for different groups.
In the quiz administration block: Group overrides. You can set different close dates for different groups.
Bursts into tears as I have been using Moodle for 7 years and not know about this feature.
If it makes you feel any better, it hasn't been around the full seven years! Forget when it was added - somewhere in the 2. versions though.
I had to go and look it up. Looks like it was new in 2.0 http://docs.moodle.org/dev/Moodle_2.0_release_notes#Quiz_module_and_question_bank, 3.5 years ago.
Auto-submit was much more recent. My memory was right and that was 2.3 (2 years ago). http://docs.moodle.org/dev/Moodle_2.3_release_notes#Quiz_module However, the first version was pretty buggy, so probably only really reliably for the last 18 months or so.
The funny thing is that I'd known about the user overrides to give make up quizzes to absent students, but completely forgot that I could use group overrides to control the start and stop times of my different periods throughout the day.