Re: CKEditor and model validation

2013-04-15 Thread angel reyes
Thanks it works. On Sunday, April 14, 2013 12:54:42 PM UTC-7, frederikjacques wrote: > > Hi Chris, > > I've written a blog post about this issue with sample code. > You can read it here > http://blog.the-nerd.be/2013/04/add-ckeditor-to-cakephp-with-model-validation/ > > Cheers, > Frederik > > On

Re: CKEditor and model validation

2013-04-15 Thread Chris
hi frederik,... thank you for your reply,... however 'required' => false did not help me,... I have a validation rule set in a controller function: if(empty($this->data)) { echo ''; echo ''; echo 'unexpected'; echo ''; echo ''

Re: CKEditor and model validation

2013-04-14 Thread frederikjacques
Hi Chris, I've written a blog post about this issue with sample code. You can read it here http://blog.the-nerd.be/2013/04/add-ckeditor-to-cakephp-with-model-validation/ Cheers, Frederik On Saturday, April 13, 2013 8:35:42 PM UTC+2, Chris wrote: > > hi frederik,... > I have a problem submitti

Re: CKEditor and model validation

2013-04-13 Thread Chris
hi frederik,... I have a problem submitting with ckeditor,... this is my form,... but its not passing content to controller,... Html->script('ckeditor/ckeditor'); ?> Form->textarea('content', array('rows' => '3', 'cols' => '5', 'class' => 'ckeditor')); ?> can you share with us please,...

CKEditor and model validation

2013-04-13 Thread frederikjacques
Hi all, I was wondering how you can use CKEditor and the model validation array. I got my textareas changed to CKEditors, but now my validation fails. If I remove a rule like non-empty everything works again, but I would rather keep my validation rules :-) Cheers, Frederik -- Like Us on FaceB