Validate() Method For Yiiactiveform

I have an ajax loaded form that has an ajaxSubmitButton(). Since yiiactiveform could not interfere with the ajaxSubmit process, client validation was not performed. This could have been resolved if yiiactiveform has validate() method to call in ajax "beforeSend". I wonder how I could add the validate() method in yiiactiveform myself.