can we create a model which does not relate to any table only relates to the form??
or suppose there is a form i have to use the value into some controller how can i use ,plz help
can we create a model which does not relate to any table only relates to the form??
or suppose there is a form i have to use the value into some controller how can i use ,plz help
Read the section Working with Forms in the Guide.
yes you can create form that does not need any table. create new model by extending cformmodel and declare the attributes and validation rules and then create form accordingly. you can refer contactform model geneted by yii for reference and refer sitecontroller/actionContact for how to use this