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

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -