I want to collect 4 form data in one page
So how can do ?
I am totally new to the yii framework & facing this problem last 4 days .
So what can i do?
I want to collect 4 form data in one page
So how can do ?
I am totally new to the yii framework & facing this problem last 4 days .
So what can i do?
try this article : How to use a single form to collect data for two or more models
In general,
Feed new model instances for each model to the form view. Display fields accordingly.
It gets a little more complex if you are trying to to 1:many or many:many relationships between multiple entities in a single form. Go ahead and post your specific question, its been answered before - can probably find it via search here to help get started.