Increase length of City field MDL-19629 - longest place name in NZ is Taumata­whakatangihanga­koauau­o­tamatea­turi­pukakapiki­maunga­horo­nuku­pokai­whenua­kitanatahu which doesn't fit in 20 chars, I figure 100 chars should be enough

This commit is contained in:
Dan Marsden 2010-07-08 07:55:20 +00:00
parent 7851bd35ae
commit ba0c097216
11 changed files with 395 additions and 5 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="20" size="21"');
$mform->addElement('text', 'city', get_string('city'), 'maxlength="100" size="21"');
$mform->setType('city', PARAM_MULTILANG);
$mform->addRule('city', $strrequired, 'required', null, 'client');