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

Comparing #12 with #13

Revision #13 was created by Maurizio Domba Cerin Maurizio Domba Cerin on Oct 10, 2011, 11:48:46 AM.

put second link on new line

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/)