Post conflict between CGridView and CActiveForm on same page

I have a CGridView and a CActiveForm on the same page, both using the same model.

The problem is that filter for the gridview is using the same html names as the activeform and so the activeform ones do not get posted back.

How do I get around this?

You should work as if you were collecting a tabular input, so using 2 index for differentiate them.

Take a looke here, instad of number you can use [‘filter’][‘attributeName’] and [‘form’][‘attributeName’]

Thanks Zac, That should do it.