Log in

View Full Version : Password validations using Java script



Pallavi Thota
07-17-2013, 06:05 AM
Hi,

i need password validations such as it should contain one capital letter, atleast one number & special character and upto 12 character length password only it has to accept....


Thanks in advance

Pallavi.:)

Beverleyh
07-17-2013, 07:13 AM
There are many JavaScript validation scripts available on the web but you will need try out a few to see if they suits your needs;

http://jqueryvalidation.org/

http://speckyboy.com/2009/12/17/10-useful-jquery-form-validation-techniques-and-tutorials-2/

http://www.designyourway.net/blog/resources/jquery-validation-plugins-for-your-forms-24-items/

However, you should always validate your critical form inputs at a server-side level too using something like PHP - JavaScript solutions can easily be disabled.