MDL-43265 Fix question name text to 255 chars
This commit is contained in:
@@ -181,7 +181,7 @@ abstract class question_edit_form extends question_wizard_form {
|
||||
}
|
||||
|
||||
$mform->addElement('text', 'name', get_string('questionname', 'question'),
|
||||
array('size' => 50));
|
||||
array('size' => 50, 'maxlength' => 255)));
|
||||
$mform->setType('name', PARAM_TEXT);
|
||||
$mform->addRule('name', null, 'required', null, 'client');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user