|
|
|
|
|
by everdimension
603 days ago
|
|
That's great advice! I also dislike the "character rejection" mechanisms, even though many people love it and products often ask to implement it. To add to the possible solutions mentioned in your article, I'd add the "pattern" attribute. You can do something like this: <input pattern=".{0,6}" /> This will allow input of any length, but show a warning then the value is longer than six characters. |
|