Search code examples
algorithmlowercasecapslock

How to prevent users writing with caps lock?


I don't really like people who write with Caps Lock. In addition the aversion, it defaces the whole application. I am wondering how to prevent users writing all characters with caps lock. I cannot force all text to lowercase due to special names and abbreviations. What logic should I use?


Solution

  • Politely decline their posts—explaining why—if the number of capital letter exceeds the number of lowercase letters by more than 30, say.

    Don't implement this on a FORTRAN forum