From f0a64f017ca34380bdf5e4d57ad39e64339da483 Mon Sep 17 00:00:00 2001 From: Colin Chambers Date: Fri, 25 Jan 2013 08:48:32 +0000 Subject: [PATCH] MDL-37465 Combined feedback: Num correct responses ticked by default --- question/type/edit_question_form.php | 1 + 1 file changed, 1 insertion(+) diff --git a/question/type/edit_question_form.php b/question/type/edit_question_form.php index da8ad92d77e..5cfecac77ad 100644 --- a/question/type/edit_question_form.php +++ b/question/type/edit_question_form.php @@ -366,6 +366,7 @@ abstract class question_edit_form extends question_wizard_form { $mform->addElement('advcheckbox', 'shownumcorrect', get_string('options', 'question'), get_string('shownumpartscorrectwhenfinished', 'question')); + $mform->setDefault('shownumcorrect', true); } } }