When to use question flags during a quiz attempt?
If flags are on, the quiz will use QUESTION_FLAGSEDITABLE in attempt.php, and on the review.php and reviewquestion.php page when a user is reviewing their own attempt. It will use QUESTION_FLAGSSHOWN on the two review pages when you are reviewing someone else’s attempt. they will be shown on summary.php.
Where do you find the flags on a quiz?
The flags will be displayed to the left of the questions, under the question number and marks, if the $cmoptions->flags is set in the call to print_question. There are three modes: QUESTION_FLAGSHIDDEN, QUESTION_FLAGSSHOWN and QUESTION_FLAGSEDITABLE.
How does flagging work in the question engine?
Flagging of questions actually be implemented as a feature of the question engine, because it is potentially useful shared functionality. However any user of the question engine will have control over whether the flagging interface appears using the $cmoptions parameter to the print_question function.
How do you change the flag on a quiz?
QUESTION_FLAGSEDITABLE means show the flag with UI to change it. If JavaScript is on, the flag state will be toggled using an Ajax interface when it is clicked on. If JavaScript is off, there will be a check-box to show the state, which will be saved when that page of the quiz is submitted.
Can a teacher change the flag on a quiz?
The flag is controlled by the person attempting the quiz. Other people (for example a teacher reviewing the quiz) can see but not change the state. Teachers should be able to configure whether flags are used on a particular quiz. This is MDL-16263. Please discuss this proposal in the Quiz forum .
How do I flag a question in moodledocs?
If JavaScript is on, the flag state will be toggled using an Ajax interface when it is clicked on. If JavaScript is off, there will be a check-box to show the state, which will be saved when that page of the quiz is submitted. Even with Ajax on, there will be a checkbox, and the flag image will be in its , but the checkbox will be hidden.