set_maxlength( $col, $maxlength)
Set max input length for a field
Parameters
mixed | $col |
|
int | $maxlength |
|
set_maxlength( $col, $maxlength)
Set max input length for a field
mixed | $col |
|
int | $maxlength |
|
Use set_maxlength() method to set maximum length of characters for a text field. It adds “maxlength” attribute to an input element.