Closed (duplicate)
Project:
Quiz
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Sep 2006 at 20:26 UTC
Updated:
11 Oct 2006 at 16:06 UTC
Jump to comment: Most recent file
Comments
Comment #1
seanbfuller commentedSimple patch to switch the 'default' => NULL to 'default' => -1
Based on:
First - http://drupal.org/node/84419
Then - http://drupal.org/node/77792
Comment #2
seanbfuller commentedMissed the fact that there is no form validation on the question, meaning a user can get through the whole thing just clicking submit on each screen without checking anything. I'll take another shot.
Comment #3
seanbfuller commentedUpdated version that keeps the question from advancing if no answer was selected.
Note that I had to adjust quiz_take_quiz to check to see if hook_evaluate_question returns null in order to do this.
I also updated the comments for multichoice_evaluate_question to better reflect what it actually does.
Comment #4
nicholasthompsonYup - Nikos and I managed to sort this one out on the eurostar. If only we'd had the internet we'd have seen you'd already done it! Buger!
As said in the other issue. We'll take a look at the patches tomorrow, collate all our work together and I'll try to figure out how to commit a new CVS version (or at least an Über patch!)
Comment #5
seanbfuller commentedCovered in http://drupal.org/node/85983.