Submitting Cactiveform Through Ajax

I create a _form.php with CActiveForm.

I have the desire to submit this form through my custom AJAX instead of real (non-AJAX) form action. I want everything to behave like normal (non-AJAX) form submit, but I want to control the POST request creating my own POST request instead of relying to HTML "form" tag functionality, so that I could change which fields are submitted.

The actual reason for this is that I want some of successful controls NOT to be submitted. (This is because some extensions create named (having name= attribute) input controls which I do not want to submit.)

Can you help?

Hi,

if you call an ajax on submit button and create the custome action please see it…

http://www.yiiframework.com/forum/index.php/topic/43977-ajax-client-side-validation-without-refreshing-page/page__p__208536__fromsearch__1#entry208536

hope it will be helpful.