[Solved] Why validation for password field validation not working?

[ad_1]

first of all stop using return from event handler.
convert your code to

<form ... onsubmit="validate(event,this)">

change your function to validate(event,form);

wherever you feel form should not be submitted..
write :

event.preventDefault()

instead of return false

Demonstration :
http://codepen.io/anon/pen/kGmeL

7

[ad_2]

solved Why validation for password field validation not working?