Skip to content

Commit

Permalink
Combined PMatch: missing Helptext #777856
Browse files Browse the repository at this point in the history
  • Loading branch information
Khoa Nguyen authored and timhunt committed May 23, 2024
1 parent 973c119 commit 862808e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions combinable/combinable.php
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ public function add_form_fragment(moodleform $combinedform, MoodleQuickForm $mfo
$mform->setType($this->form_field_name('modelanswer'), PARAM_RAW_TRIMMED);
$mform->addRule($this->form_field_name('modelanswer'), get_string('modelanswermissing', 'qtype_pmatch'),
'required');
$mform->addHelpButton($this->form_field_name('modelanswer'), 'modelanswer', 'qtype_pmatch');

$mform->addElement('textarea', $this->form_field_name('answer[0]'), get_string('answermustmatch', 'qtype_pmatch'),
['rows' => '6', 'cols' => '57', 'class' => 'textareamonospace']);
Expand Down

0 comments on commit 862808e

Please sign in to comment.