WML » input » maxlength

The optional maxlength attribute is an integer number that sets the maximum number of characters that will be accepted by the input. The default is an unlimited number of characters.