html - Ungrammatical validation message for firefox -


firefox default messaging/validation message grammatically incorrect.

using minlength html5 attribute firefox displaying following words.

"please use @ least 3 characters (you using 1 characters)."

should "1 character" there fix this?

html below

<input type="text" minlength="3" /> 

this bug in firefox's implementation. there's no extremely simple way correct i'm aware of.

you can use setcustomvalidity call function check length of field , return appropriate validation error, using correct grammar.


Comments

Popular posts from this blog

Ansible warning on jinja2 braces on when -

Parsing a protocol message from Go by Java -

html - How to custom Bootstrap grid height? -