validate.js
validate.js copied to clipboard
Support custom validators in the constraints schema
This would be useful for when you want a validator to be used in just a special case.
The format could be:
{
"<attribute>": {
"<validator name>": function(value, options, key, attributes) {
...
}
}
}
+1 for this enhancement, would be very useful.
Is this still planned?
@tyrsius Yes, an implementation is being discussed and implemented in #135
Status ?