Search for in the Packages This site (using Yahoo!) Developers Developer mailing list General mailing list CVS commits mailing list
require_once 'HTML/QuickForm/text.php';
void HTML_QuickForm_text::setMaxlength (string $maxlength)
void HTML_QuickForm_text::setMaxlength
This is just a shortcut for
<?php $element->updateAttributes(array('maxlength' => $maxlength)); ?>
Maximum length of text field
throws no exceptions thrown
since 1.3
This function can not be called statically.