What js libraries for form validation providing a callback function API would you suggest ?
I'm using the quasar and I like the ":rule" approach, but I would like some ready to use callbacks to check common use cases.
The interface would be
function(val) -> true|false ? or
function(val) -> <int : error number>
...Famous validation libraries just do too much stuff by providing automatic message and field update etc.