Ajax Validation Only On Submit

I have been working on this problem for the last 2 days and I finally figured it out. I needed AJAX validation only when submitting a form and client side validation on each field change. From what I was able to figure out this combination is not supported by the CActiveForm object.

I wanted to share my solution since searching for this turned up nothing.