If we need to create form in views,do we need also to create form in model which extends the CFormModel ?
sorry this question,I am still learning this framework.
Thank you in advance.
If we need to create form in views,do we need also to create form in model which extends the CFormModel ?
sorry this question,I am still learning this framework.
Thank you in advance.
If the form represents a record in your database, use the CActiveRecord model instead of CFormModel.
CFormModel is intended for use when you’re collecting data that you won’t save, such as login credentials on a login form.
If you haven’t read through the Yii guide yet, you definitely should.
Hi Keith,Thank you for the quick reply.Okay I will try to read.