[jQuery] (validate) equalTo with complex names
HI
Wondered if someone could help.
I need to run a equalTo validation check on some inputs that use
complex ids, they have fullstops in. I am trying to add the rules
(using quotes also as specified) as per the documentation but it still
doesnt seem to work. Code is here:
$(document).ready(function(){
$("#registrationDetails").validate({
rules: {
"emailAddress.email": "required email",
"emailAddress.emailRepeated": {
equalTo: "#emailAddress.email"
}
}
});
});
any help here would be great
thanks in advance
ade