Closed NYPD closed 7 years ago
I think this is a two parter.
And a third
Perhaps error messages should just take a generic function to deal with error messages in general
The error callback function will be called on each element validated, it will be supplied the element itself and the error message regardless if it is valid or not. If it is valid, error message will be null.
This change was added in 777f929
errorCallback should be renamed messageCallback
Or maybe some sort of functionality to display error messages somewhere else.
errorCallback
functionerrorCallback
functionerrorCallback
function maybe?