html-formhandler
html-formhandler copied to clipboard
Text field maxlength leads to bad user experience
When you set maxlength the input field doesn't allow to enter more characters which means that the validation and it's error message is never triggered. That lead to truncated passwords for some of our users.
I'd suggest to render the html with maxlength="$maxlength+1" and use maxlength for the validation as is.