Validation Via Jquery.yiiactiveform.js

Need to run validation form on client side, on CHtml::button() click, somebody can help ?

In CHtml::button() you can write down onClick() event. And anywhere in page you can define javascript within <script> tag with all your validations.

I tried to do so, but it does not work !, call $.fn.yiiactiveform.validate() - error setting undef

check this forum