Multiple CForms on a page with the same model class?

I’m struggling with a page which has multiple instances of CForm’s with their own models. Problem is the models are all of the same class, so the generated IDs and Names are all duplicated as ClassName_Attribute and className[attribute]. From looking through the code, there does not seem to be a way to present more than 1 form on a page. I can’t use subforms since I want to present the content in a tab view, and I’m not sure that would solve the problem anyway.

Any suggestions?

It should be fine you have duplicated input names. To avoid duplication of input IDs (because they violate XHTML), you may explicitly set them in each input element.

You should use different submit button name for different forms in order to load different sets of input data.