I've done a multiple choice quiz site (13 quizzes w/ 10qs each) and have set the questions to not be skippable, which when logged in as admin they aren't, but anonymous users can skip questions. I've looked in the "multichoice.classes.inc" file and found this snippet:
/**
* Implementation of isValid
*
* @see QuizQuestionResponse#isValid()
*/
public function isValid() {
if ($this->question->choice_multi) return TRUE;
if (empty($this->user_answer_ids)) return t('You must provide an answer');
return TRUE;
}
I'm assuming this is the validation, why can questions be skipped by non-logged in users but not by logged in users? I need the questions to be non-skippable by all users is this an error or a setting?
thanks for any help!
Comments
Comment #1
falcon commentedThis seems to be a bug. I will look into it later.
Comment #2
falcon commentedThanks for reporting. Changes that should fix this problem has been commited.
Comment #3
Pentacor commentedGreat thanks! I think I've found another bug - all quizzes are set to show feedback after each question, but suddenly (with no source code editing) they have stopped doing so, whether logged in or not, have you experienced anything like this?
many thanks