checkit
checkit copied to clipboard
Adding custom validators to Checkit.Validators does not work any more?
I am using 0.5.1
I had the same problem. After reading the code, I found out that the documentation is out-of-date or wrong. It's:
Checkit.Validator.prototype.myCustomValidator = function(val) { ... }
having the same problem as well. No support for custom Validators
It's there, it's just documented wrong. My example above shows how to add them.
Thanks!
Would anybody be willing to provide a PR to correct this documentation problem?
I think this can be closed?