Quiz Review Correct Answer state in Question

Re: Quiz Review Correct Answer state in Question

by Tim Hunt -
Number of replies: 0
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
I think your suggested chagne is not quite right. I think it would be better to just delete the ' && $isselected' bit of the if test (otherwise it will give away the answer before the student has responded. So:

if ($options->correctness) {
$feedbackimg[] = $this->feedback_image($this->is_right($ans));
$class .= ' ' . $this->feedback_class($this->is_right($ans));
} else {
$feedbackimg[] = '';
}

And, yes, overriding the renderer in your theme is the right way to implement it.