jquery validate funnction confirm password validation 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"
}
}