Morning.
I’ve got a few questions regarding fn.yiiactiveform.validate and errorCallback.
-
It seems like errorCallback can only be specified for custom code that calls validate, and not for the standard Yii validate methods etc. Is this by design?
-
Is there any reason why errorCallback cannot be specified in IE $form.data(‘settings’)? This would make it much easier to have a custom handler without overriding things.
-
Is there any reason why $ajax.error is implemented even if errorCallback is empty? This prevents people from using $ajaxSetup.error.