The plugins site is currently in development.
We've been looking to provide a higher-quality, spam-free experience at the plugins site for some time, and a major error on our part forced us to shut down the current site before we could put the new one in place. We are developing a new site, and you can follow along with its development on GitHub. For more information about this transition, including steps you can take as a plugin author to prepare, please read our post about what's going on.
güncel blog
| Project: | Validation |
| Version: | 1.5.5 |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Currently there is "number" and "digits" validation methods. However, none of these can limit the input to all integers (positive and negative). "digits" only match positive integers. To support negative integers, I suggest adding
integer: function(value, element) {
return this.optional(element) || /^-?\d+$/.test(value);
},If there is a work-around making using a max/min/range, please make that clear(er) in the documentation. At least I didn't see how I could match all integers.
Regards,
Hans
PS! Please update the bug reporting link at the bottom of http://bassistance.de/jquery-plugins/jquery-plugin-validation/ since the main JQUery bug tracker doesn't accept plugin bugs anymore.
- Login to post comments

Comments
#1
Added to additional-methods.js. Will be included in upcoming 1.6 release.
#2
Automatically closed -- issue fixed for two weeks with no activity.
#17
thank you so much
seslichat
sesli chat
#18
benim kinin heppsinisohbet odaları neden almıyorsun
kameralı sohbet amk senin sitenin abne
blog bari bunu al
güzel sözler okurum sana bak
#19
Automatically closed -- issue fixed for two weeks with no activity.
güncel blog
hallederik
güncel download
#20
not bad
#21
I definitely loved every little bit of it. I wanted to thank you for this great read!! vehicle insurance quotes