Call A Custom Javascript Function After Form Validation

Hi,

i have created a form using CActiveForm. As far as i know it is not possible to call a custom javascript function, like errorCallback or successCallback, after a failed/successfull validation of a form using fn.yiiactiveform.validate() (http://www.yiiframework.com/forum/index.php/topic/27513-fnyiiactiveformvalidate-errorcallback).

It is surely possible to create a (change-)listener for the form fields and call a function. But is the result of the validation stored somewhere?

Thx

Robert