How to run complete ajax validation on demand

I got a Form with AJAX validation enabled. It is working very good, but in the form I got some special button for JS purposes. I need to run AJAX validation on whole form after clicking that button. How to do that?

THX.

I didn’t understand well your purpose but…

take a look in ajaxSubmitButton and in ajax().

you can make hole validation by sending ajax request and on success you do what you want ;)