Generate Form Model

Hello

How you generate form model that extends CFormModel ?manually ?

I want to generate form skeleton in gii , is there any extension ?

Hi p3otec, welcome to the forum.

Yes, manually.

We want to use CFormModel when the CActiveRecord doesn’t satisfy our needs. And what we want for CFormModel may vary case by case. So there’s not so many routine works that a tool can do for you in creating a CFormModel.

But once you have created a CFormModel or a CActiveRecord, you can use the form generator of gii to create the skeleton of a form view.

ok , thanks