Multi-form with one model and CjuiTab

Hi all,

I’m quite new to Yii, it’s the first bigger project and I’m stuck with splitting a form to multiple pages. I tried the hints I found, but I couldn’t get it working properly. Maybe the problem is between my ears…

What I want to do:

  • Split a form to categories (e.g. address data, banking data, etc.) via CJUITab or else

  • the base for the form is one database table => one model

  • when I tried the examples for nested forms I only got the headline and the submit-button, but no other controls…

Maybe someone has a hint or a short example for me?!? :slight_smile:

Thanks in advance,

thion007

Do you really need nested forms? Can’t you just split your data to several forms, accumulate it via hidden fields on each form and actually process only on the last page of the form?

Do you really think this is a good way? I would prefer session…

Sorry for the late reply, the customer changed his mind, so there’s no more need for nested forms.

But thanks anyway!!!