TinyMCE Validation Not working

Hello All,

I have applied required validation to tinymce but even after inserting value and submitting form it gives validation error to insert value.

array(‘news_description’, ‘required’),

<?php $this->widget(‘application.extensions.tinymce.ETinyMce’,

            array(


                'name'=&gt;'news_description',


                'id'=&gt;'news_description',


                'useSwitch' =&gt; false,


                'editorTemplate'=&gt;'full',


				'value' =&gt; &#036;model-&gt;news_description


                )


            );

?>

Can anybody help me.

I think problem with your name field,

I used tinymce much time before, currently i use editMe extension and i pass name field as


$this->widget('ext.editMe.ExtEditMe', array(

			'name'=>'Page[page_content]',	// Page is model, page_content is field

        	..

Hello All,

Problem solved.

please use below code.

<?php $this->widget(‘application.extensions.tinymce.ETinyMce’,

            array(


	     'model'=&gt;&#036;model,


                 'attribute'=&gt;'news_description',


                 'useSwitch' =&gt; false,


                 'editorTemplate'=&gt;'full',


	     'value' =&gt; &#036;model-&gt;news_description


                )


            );


		?&gt;