It would also be very useful if the validation is extensible, as different projects require different validation rules.
I'd also want validation rules that are portable between the client and the server to reduce code duplication.
One combination I've been toying with is using clojure.spec[1] with ClojureScript/Clojure with varying levels of success. I imagine you can do similar things using server-side JavaScript.
> we should use another technology to do other things we've been commandeering it to do.
What types of things are you thinking of?
http://www.w3schools.com/html/tryit.asp?filename=tryhtml_inp...
the firefox implementation will gladly accept the invalid [email protected] but won't accept the valid "test"@example.com
this is just a case of poor validation which we are now stuck with