24
25
$repeated[] =& $mform->createElement('header', 'choicehdr', get_string('choiceno', 'qtype_multichoice', '{no}'));
25
26
$repeated[] =& $mform->createElement('text', 'answer', get_string('answer', 'quiz'));
26
27
$repeated[] =& $mform->createElement('select', 'fraction', get_string('grade'), $gradeoptions);
27
$repeated[] =& $mform->createElement('htmleditor', 'feedback', get_string('feedback', 'quiz'));
28
$repeated[] =& $mform->createElement('htmleditor', 'feedback', get_string('feedback', 'quiz'),
29
31
if (isset($this->question->options)){
30
32
$countanswers = count($this->question->options->answers);
36
42
$repeatedoptions = array();
37
43
$repeatedoptions['fraction']['default'] = 0;
38
44
$mform->setType('answer', PARAM_NOTAGS);