benkeen / rsv Goto Github PK
View Code? Open in Web Editor NEWReally Simple Validation (Javascript validation library)
Really Simple Validation (Javascript validation library)
Hey there,
Been using RSV for a long long time; now using the jQuery version (now that I'm on a new project). Appreciated your work.
I found an interesting bug/feature in the jQuery version. Line 561-562.
It appears the customErrorHandler is always terminally called, irrespective of whether any errors are registered.
There are two problems;
If you have a customErrorHandler and a onCompleteHandler, I don't think the latter ever gets called.
The documentation (http://www.benjaminkeen.com/open-source-projects/smaller-projects/really-simple-validation-js/really-simple-validation-jquery-plugin/) specifies that customErrorHandler should 'always return false', which means that the form never validates and submits.
Problem 2 has a workaround, by adding this to any customErrorHandler...but it ought to be unnecessary. Or else documented! :)
if (errorInfo.length === 0 ) { return true; }
Our javascript error messages disappear immediately after appearing briefly in Chrome. Do you have a solution for this? This appears to be a Chrome issue. The error message pop-ups function as expect in Firefox, where they stay up until they are acknowledged and dismissed.
Thanks.
Hi,
I am a rooky on github, so maybe this is off topic, but I do not know how else to conatct you. The demo page seems to be off line.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.