-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
toEqual method #5
Comments
The method is equalTo, not toEqual. Independent of that, what's the issue with the current syntax? You can specify and selector, e.g. just select based on the id of the password field. That has to be unique anyway. |
mlynch
pushed a commit
to mlynch/jquery-validation
that referenced
this issue
Mar 27, 2012
… due to a bug in zipstream (jquery-validation#5).
mlynch
pushed a commit
to mlynch/jquery-validation
that referenced
this issue
Mar 28, 2012
… due to a bug in zipstream (jquery-validation#5).
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am using multiple creation forms for example: login, registration, remember. And in the page password field has the next name: 'user[password]' with id 'user_password'. May be replace toEqual method implementation of$(field) to finding the field for comparation in the scope of the fields in param form. for example: $ (target).children().find(field) ... But add param to toEqual field for making as scope. toEqual: {id:'field', scope:true} or toEqual: {name:'user[field]', scope:true}. What do you think about it?
The text was updated successfully, but these errors were encountered: