Hello, there Im trying to limit the chars that a user can insert into a post, so i taked a look in post_form.php and i found this line
$mform->addRule('subject', get_string('maximumchars', '', 255), 'maxlength', 255, 'client');
So it should work, but it is not.
Im using Moodle 1.9.5 build 20090729 Any ideas?
Text editors
Maximumchars editor problem
This discussion has been locked so you can no longer reply to it.