It has a strength meter, a show/mask option and
a feature to generate a strong random password

Usage:
First, link to the style sheet and the JavaScript file:
- Code: Select all
<link rel="STYLESHEET" type="text/css" href="pwdwidget.css" />
<script src="pwdwidget.js" type="text/javascript"></script>
Then for password field, use the code below:
- Code: Select all
<label for='regpwd'>Password:</label> <br />
<div class='pwdwidgetdiv' id='thepwddiv'></div>
<script type="text/javascript" >
var pwdwidget = new PasswordWidget('thepwddiv','regpwd');
pwdwidget.MakePWDWidget();
</script>
<noscript>
<div><input type='password' id='regpwd' name='regpwd' /></div>
</noscript>
More info and download:
A rich password widget for web forms
License:
LGPL 3

