Add New Item To Chtml

Hi

I work Yii with doctrine 2. I have a problem, datetime in doctrine 2 is an object of DateTime class, and I can’t update it with regular methods of CHtml or form.

How can I add new item in CHtml that can handle this situation.

–Best Regards

Moe Far

hi follow this link…

http://www.yiiframework.com/doc/guide/1.1/en/form.builder

you will get some help