Demo: Javascript class ahpwcheck
Demo form
Explaination
A simple form contains a password field with id "ePassword".
Below the form is a empty div with id "outpwcheck"
The method "watch()" adds a listener. While you type something
the output div will be updated.
Binding the password field updates the infos during the user types.
It requires by default
- 1 lowercase letter
- 1 uppercase letter
- 1 digit
- 1 special character
- minimum 8 chars
With customizing you can influence several behaviours.
- customize texts and/ or use other languages
- change output style (css)
- change requirements for a check
- change weights for scoring
DOCS: http://www.axel-hahn.de/docs/ahpwcheck/index.htm
SOURCE: https://github.com/axelhahn/ahpwcheck