Auto-submitting quizzes is one of the major outstanding feature requests. It has been discussed here before. Try searching.
Quiz
submission of quiz attempt within the time limit...
This discussion has been locked so you can no longer reply to it.