Validating question type (input) fields with JavaScript, which are created with JavaScript in moodle 2.1

Re: Validating question type (input) fields with JavaScript, which are created with JavaScript in moodle 2.1

by Michael Schink -
Number of replies: 0

That's a good idea. Each question has a hint that you should fill in a value. I just deactivated the onsubmit validation and now I'm gonna extend the is_complete_response(array $response) method to "replace" the onsubmit validation. So the student sees that a question answer with no value isn't answered in the quiz summery. That should be the best way to handle this problem. Thanks again.