I went to Administer ... Site configuration ... Quiz configuration. I then unchecked "display pass/fail options in the Survey form" because I'm using this for a quiz where any of the answers can be considered correct. More of a survey than a quiz I guess.
I went to Create Content ... Quiz. I filled out the quiz, where the pass/fail options were not available due to my previous selection, and filled out every available field, but I couldn't save the quiz. I was required to put in a value between 0% and 100% to determine whether the quiz was passed even though the field was not available.
I do not have the knowledge to determine how the module handles the end of a quiz yet since I haven't been able to create my first quiz for testing, so I am not in a position to recommend how this behavior is fixed. I don't know whether the percentage is REALLY required or not.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | quiz_passfail.patch | 3.55 KB | add1sun |
Comments
Comment #1
add1sun commentedHere is a patch that fixes this up. They way it works is that if you Uncheck the pass/fail option, all quizzes will have the default pass percentage with no option to change it when creating a new quiz.
Please test to see if this works as expected.
Comment #2
kscheirerit took me a couple readings to get this one :)
you're changing the function of the quiz_use passfail checkbox,
so it used to just (unsuccessfully) set pass rate to 0
now it automatically uses the default pass rate for quizzes.
The patch tested fine though, I'm all for it. I never use that checkbox anyway :)
Comment #3
kscheirercommitted to 5.x-1.x-dev
Comment #4
(not verified) commented