void HTML_QuickForm_text::setMaxlength (
string $maxlength
)
This is just a shortcut for
<?php
$element->updateAttributes(array('maxlength' => $maxlength));
?>
$maxlength
Maximum length of text field
throws no exceptions thrown
since 1.3
This function can not be called statically.