jquery validation rules for password format code example
Example: password and confirm password validation in jquery
Remove the required: true rule.
Demo: Fiddle
jQuery('.validatedForm').validate({
rules : {
password : {
minlength : 5
},
password_confirm : {
minlength : 5,
equalTo : "#password"
}
}