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

data-rule's not working #868

Closed
th3fallen opened this issue Aug 23, 2013 · 10 comments
Closed

data-rule's not working #868

th3fallen opened this issue Aug 23, 2013 · 10 comments

Comments

@th3fallen
Copy link

No idea whats going on but none of the data-rules's are working i've attempted
data-rule-required="true"
data-rule-email="true"
and
data-rule-equalTo="#providerEmail"

am i missing something?

@Joyrex
Copy link

Joyrex commented Aug 23, 2013

First the obvious - are you using 1.10 or higher (the feature was introduced in that version, AFAIK)?

@johnnyreilly
Copy link
Contributor

I think it was actually 1.11 @Joyrex

@Joyrex
Copy link

Joyrex commented Aug 23, 2013

You're right - 1.11.0 (damn minor point versioning!) :)

@th3fallen
Copy link
Author

I'm using the latest 1.11.1
On Aug 23, 2013 4:54 PM, "Joyrex" notifications@github.com wrote:

First the obvious - are you using 1.10 or higher (the feature was
introduced in that version, AFAIK)?


Reply to this email directly or view it on GitHubhttps://github.com//issues/868#issuecomment-23186655
.

@johnnyreilly
Copy link
Contributor

@th3fallen sounds fine... You could take a look at this demo:

http://jqueryvalidationunobtrusivenative.azurewebsites.net/Demo/Email

This shows the data-rules in action (look at the demo tab, the html tab and the JavaScript tab - the other tabs wont be relevant to you I guess)

@th3fallen
Copy link
Author

In my browser that one isn't working either
On Aug 24, 2013 1:11 AM, "John Reilly" notifications@github.com wrote:

@th3fallen https://github.com/th3fallen sounds fine... You could take a
look at this demo:

http://jqueryvalidationunobtrusivenative.azurewebsites.net/Demo/Email

This shows the data-rules in action (look at the demo tab, the html tab
and the JavaScript tab - the other tabs wont be relevant to you I guess)


Reply to this email directly or view it on GitHubhttps://github.com//issues/868#issuecomment-23203195
.

@th3fallen
Copy link
Author

Nevermind it is that's exactly what I did in mine though that's odd
On Aug 24, 2013 11:23 AM, "Clark Tomlinson" fallen013@gmail.com wrote:

In my browser that one isn't working either
On Aug 24, 2013 1:11 AM, "John Reilly" notifications@github.com wrote:

@th3fallen https://github.com/th3fallen sounds fine... You could take
a look at this demo:

http://jqueryvalidationunobtrusivenative.azurewebsites.net/Demo/Email

This shows the data-rules in action (look at the demo tab, the html tab
and the JavaScript tab - the other tabs wont be relevant to you I guess)


Reply to this email directly or view it on GitHubhttps://github.com//issues/868#issuecomment-23203195
.

@th3fallen
Copy link
Author

@johnnyreilly this is the mark up of the field in question that isn't working any ideas?

<input type="text" name="email" id="provideremailconfirm" data-rule-required="true" 
data-rule-email="true" class="input-text" data-rule-equalTo="#provideremail">

@johnnyreilly
Copy link
Contributor

Looks initially OK. I'm guessing this is contained in a form and there are no other "email" named fields... Care to share the rest of the HTML?

Clark Tomlinson notifications@github.com wrote:

this is the mark up of the field in question that isn't working any ideas?


Reply to this email directly or view it on GitHub.

@jzaefferer
Copy link
Collaborator

I'm sorry for the lack of activity on this issue. Instead of leaving it open any longer, I decided to close old issues without trying to address them, to longer give the false impression that it will get addressed eventually, especially after several years with no activity. It doesn't mean I'm abandoning the project, just that I'm unable to work through 200+ open issues with the little time I can afford to spend on this project.

To the reporter (or anyone else interested in this issue): If you're still affected by the same issue, please consider opening a new issue, with a testpage that demonstrates the issue with a current version of the plugin. Even better, make an attempt to fix the issue yourself, and improve the project by sending a pull request. This may seem daunting at first, but you'll likely learn some useful skills that you can apply elsewhere as well. And you can help keep this project alive. We've documented how to do these things, too. A patch is worth a thousand issues!

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

No branches or pull requests

4 participants