Skip to content
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

Issue with matching 2 fields #74

Open
hrishikeshchoudhari opened this issue Mar 28, 2013 · 1 comment
Open

Issue with matching 2 fields #74

hrishikeshchoudhari opened this issue Mar 28, 2013 · 1 comment
Milestone

Comments

@hrishikeshchoudhari
Copy link

Tried using the same code as in the documentation, but the match feature seems to be buggy.

The responds by "does not match" even if the 2 fields have the same content.

Please check the JSBin here - http://jsbin.com/enoval/3

Please try with the "mobile" and "email" fields.

@ReactiveRaven
Copy link
Owner

JQBV only looks for the name attribute currently, and although you've given it an ID, the mobile field doesn't have a name attribute.

It is an easy thing to miss, so I'm flagging this as an enhancement for 1.4.0. I'll update for it to look for name first, then if none found, search on ID in stead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants