0

Hi, I have some jQuery code which checks whether capslock is on, but it works only with .keypress(). I want to alert when document is ready, not when im filling input. Is it possible to check status of capslock and alert the user without filling the input?

3
Contributors
5
Replies
8
Views
5 Years
Discussion Span
Last Post by ssantoshreddy
0

You may need to ask yourself: "why would I want to (warn or) alert my client that his 'caps lock is on' as soon as he opens the page -even if he might have no intention of filling anything at all there?"

Anyway,

the plain answer is NO.

0

Hi,
it's a login page, only with login form, that's why i would alert my client that casplock is on. Thanks for answer!

1

of course it is
but you don't want a page yelling at you: "- your caps lock is on !" as soon as it opens, -who cares?! Perhaps you came there by accident or got redirected.

-Not even a standalone application will warn you for "all-caps lock" unless you are feeding its encrypted password field. It's simply annoying!
(and what about users who's pass is deliberately in all caps?)

Don't annoy your clients, the password field should, at least be selected, or focused on, before the warning is shown.
Anyway future browsers are planning to have that feature on inputs of type password by default and IE10 supports it already ... no additional coding needed.

Edited by Troy III: n/a

0

Hi,
I guess you are right, actually i also think it's annoying to alert the client as soon as the page opens however i did not think about alert literally but about some little messagebox showing up slowly somewhere above the form :)

Anyway thank you for exhaustive answer.

P.S. Nice to know that future browsers are plannig such a features.

Best regards,
zagal

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.