Mask Password With Asterisk (*) While Typing - Passwordify.js

File Size: 16.1 KB
Views Total: 8742
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
Mask Password With Asterisk (*) While Typing - Passwordify.js

Passwordify.js is a password masking jQuery library that automatically masks password characters with asterisks (***) while typing.

Requires jQuery library and jQuery mask plugin.

See also:

How to use it:

1. Load the necessary jQuery and jQuery mask libraries in the html page.

<script src="" 
<script src=""></script>

2. Download and load the Passwordify.js script after jQuery.

<script src="jquery.passwordify.js"></script>

3. Attach the plugin to the target text field and done.

<input type="text" id="example" data-val="" value="" placeholder="Enter your PIN">

4. Specify the maxumum number of characters allowed to type in the text field. Default: 8.

  maxLength: 6

5. Execute a function after you've typed the password.

  enterKeyCallback: function(){
    // do something

6. Only allow letters and/or numbers for your password.

  numbersOnly: false,
  alphaOnly: false,
  alNumOnly: false

This awesome jQuery plugin is developed by cloudmedia. For more Advanced Usages, please check the demo page or visit the official website.