Two subforms of the same type

I got really excited when I found out about subforms in Yii. However, what I really miss in the existing system is an ability to add the two instances of the same form type. I mean, I am able to add them, but the field names are repeated and then there is no way to access the first subform.

Some kind of automatically generated prefixes would be great :).

Would this help you?

http://www.yiiframework.com/forum/index.php?/topic/13521-two-forms-on-the-same-page-and-scenario-validation/page__view__findpost__p__69624

I abandoned using the same form twice when I was originally working on the project and posting this was on my todo list for a bit, but it seems very helpful. I will test it :).

Thanks!

Ahh, I can see one difference. I was using form builder and wanted the form to be validated as a whole, not to do the partial validation on each subform manually, but I guess, that solves at least the part of my problem :)