How to use a single form to collect data for two or more models?

Comparing #11 with #12

Revision #12 was created by RusAlex RusAlex on Oct 9, 2011, 7:56:23 AM.

new link

Content

[...]
```

The above approach can also be used if we have more than two models to deal with.

### Links
[Chinese version](http://projects.ourplanet.tk/node/94)

 
[Ajax Validation Version](http://www.yiiframework.com/wiki/218/how-to-use-single-form-to-collect-data-for-two-or-more-models-cactiveform-and-ajax-validation-edition/)