As in the title, I Don't know why when I applicate CKEditor class to my Symfony2 Field Form as follow:
->add('contentCours', null,array(
'label' => 'Content: ',
'attr' => array('class'=>'ckeditor')))
If the Form is submitted, I will got an SQL exception telling me that the colomun content_cours
can't be null!
But that won't happen when I remove the CKEditor class atrri from the field...
I don't know what the wrong with that really, am I messing somthing? THanks for your help :)
Edit: To be more clear, I want the following => Don't subbmit the form if the "contenctCours" field is blank.