Reset Form in Client Side using yiiactiveform plugin

I have two forms in a single page, my scenario was when i click on form1 i want to reset data and errormessages in form2 and viceversa. Can some one help me out how to use reset functionality of jquery.yiiactiveform.js plugin.

Why don’t you just call .reset() method on the form2 object in your JavaScript?