[jQuery] [validate] Validate for different or contains string (different than a given string or field)
Hello ppl of the group, I'm here to ask if there is a way to validate
a field to be DIFFERENT from a value from a hidden field on a form or
a sample string.
I'm using jquery validate 1.2.1
I have a username/pass validation ruleset, but i need the password TO
BE DIFFERENT and DO NOT CONTAIN the username on it, is there anyway to
do this?
ATM all i have is this.
clave: "Requerido",
clave_verif: {
required: "Repita su clave",
minlength: jQuery.format("Repita su clave"),
equalTo: "Las claves no conciden"
},
It would be really nice to have something like
differentto: field
and/or
nocontain: fieldname / string
Regards,
JLChafardet