Comments (4)
Well, you can do it with:
var numberOfErrorMessages = $("#myForm :input.error").length;
from jquery-validation.
@jzaefferer thoughts on this? I'm not sure what numberOfInvalids
was initially meant for.
from jquery-validation.
This demo is using numberOfInvalids
: http://jzaefferer.github.com/jquery-validation/demo/marketo/
Taking groups into account seems reasonable.
from jquery-validation.
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.
To the reporter (or anyone else interested in this issue): If you're affected by the same issue, consider opening a new issue, with a testpage that shows the issue. Even better, try 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!
from jquery-validation.
Related Issues (20)
- greaterThan() not normalizing input HOT 2
- Add ability to require at least one of multiple validation methods HOT 9
- Date validation failure. HOT 11
- Additional validation vinUS fails to validate valid Vehicle Identification Number (VIN).
- Add option to html escape the messages in showLabel function
- lessThan reports error if compared to empty field HOT 3
- Form not from HTML element HOT 2
- NuGet jQuery version dependency incorrect HOT 3
- Validation behaviour HOT 5
- If remote validation fails due to connection issue, it never allows the form to be submitted again HOT 1
- `step` automatic rule gets broken for very small steps HOT 2
- Validation error when remote check fields is preloaded. HOT 2
- I do not want this feature implemented on my device
- Form submitHandler endless loops HOT 2
- Focus on last focused field causes problems in accessibility HOT 1
- Cannot read properties of undefined (reading 'call'). Exception occurred when checking element , check the 'messages' method HOT 1
- Remote validation not working in last release HOT 4
- old version (19.5) on website HOT 1
- Using data-rule attributes for validation rules HOT 1
- file's accepted mimetypes as "*" results in a regex error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jquery-validation.