# How to check Caps Lock is ON

**URL:** <https://forum.kirupa.com/t/how-to-check-caps-lock-is-on/240017>\
**Category:** Uncategorized\
**Created:** [September 28, 2007, 11:16am UTC](https://forum.kirupa.com/t/how-to-check-caps-lock-is-on/240017 "2007-09-28T11:16:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bappa001](https://avatars.discourse-cdn.com/v4/letter/b/ed8c4c/32.png) [@bappa001](https://forum.kirupa.com/u/bappa001)\
**Post date:** [September 28, 2007, 11:16am UTC](https://forum.kirupa.com/t/how-to-check-caps-lock-is-on/240017/1 "2007-09-28T11:16:03Z")

</div>

Hi all,

can u plz tell me how to check caps lock is on for a password field. i have a script which shows an alert message for each key pressing with Caps Lock ON , but which i want is somewhat different. u might have seen in windows , when caps lock is on it shows a message but if u ignore and start typing , it allows without throwing any alert.
