Increase length of City field MDL-19629 - Taumata­whakatangihanga­koauau­o­tamatea­turi­pukakapiki­maunga­horo­nuku­pokai­whenua­kitanatahu doesn't actually fit in 100 chars - we need 105 - increasing further to 120

This commit is contained in:
Dan Marsden 2010-07-08 11:15:49 +00:00
parent 07b21d0467
commit c5c0d2ff98
6 changed files with 9 additions and 9 deletions

View file

@ -187,7 +187,7 @@ function useredit_shared_definition(&$mform, $editoroptions = null) {
$mform->setDefault('screenreader', 0);
$mform->addHelpButton('screenreader', 'screenreaderuse');
$mform->addElement('text', 'city', get_string('city'), 'maxlength="100" size="21"');
$mform->addElement('text', 'city', get_string('city'), 'maxlength="120" size="21"');
$mform->setType('city', PARAM_MULTILANG);
$mform->addRule('city', $strrequired, 'required', null, 'client');