Subscribe for automatic updates: RSS icon RSS

Login icon Sign in for full access | Help icon Help
Advanced search

Pages: [1]
  Reply  |  Print  
Author Topic: Detect caps lock?  (Read 7785 times)
Snorri B.
Posts: 104


« on: October 04, 2016, 02:52:42 pm »

Is there a way in BDL to detect if caps lock is on? It would be useful when prompting for passwords.

Regs,
-Snorri
Reuben B.
Four Js
Posts: 1126


« Reply #1 on: October 05, 2016, 11:13:57 pm »

Hi Snorri,

I am not aware of a way.

However would

INPUT login, passport

IF passport = passport.toUpperCase() THEN
    #

Product Consultant (Asia Pacific)
Developer Relations Manager (Worldwide)
Author of https://4js.com/ask-reuben
Contributor to https://github.com/FourjsGenero
Reuben B.
Four Js
Posts: 1126


« Reply #2 on: October 05, 2016, 11:17:21 pm »

Ooops, somehow pressed Alt+S as I was typing

I meant

IF password = password.toUpperCase()

as a test that could be used as a hint that perhaps the Caps lock key was on.

Reuben

Product Consultant (Asia Pacific)
Developer Relations Manager (Worldwide)
Author of https://4js.com/ask-reuben
Contributor to https://github.com/FourjsGenero
Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines