sahanz
asked on
Jquery Validate Plugin. equalTo
Hi,
I'm using jquery validate plugin to validate a form, so for passoword confirm I use equalTo
The password field is actually not required, but I cant make the confirm field not required. If user type something in password field, can I make the confirm field required?
Thank You
I'm using jquery validate plugin to validate a form, so for passoword confirm I use equalTo
admin_pass: {
minlength: 5
},
admin_pass_confirm: {
required: false,
minlength: 5,
equalTo: "#admin_pass"
}
The password field is actually not required, but I cant make the confirm field not required. If user type something in password field, can I make the confirm field required?
Thank You
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER