← All demos
minlength
/
maxlength
rules
Constrain the number of characters allowed in a field.
Username
3–20 characters
Password
8–64 characters
PIN
(exactly 4 digits)
Validate