In development world, daily we face lot of problems, some are big while some are minor. Sometimes it takes a lot of time to fix small one than bigger ones. Similar to this, today I faced a small issue with TinyMCE in CakePHP. It was to set an attribute and to figure it out itself took couple of hours of mine. Then I decided to share it with my readers, thinking that it may save those couple of hours of someone else at some point of time. Problem : TinyMCE notempty validation was not working fine and it was showing following message on console. An invalid form control with name='page [description]' is not focusable Solution : Set required attribute to be false in view file. For example : <div> <div class="umstyle3"><?php echo __('Page Description');?></div> ...