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

html - How to custom Bootstrap grid height? -

javascript - pass values from mssql to views in node -

ruby - unknown property method: 'wait' on EC2 windows server Instance -