I have placed in a form the TinyMCE widget whose content is required. The corresponding database field is called "texto", so that, I added the rule required for field "texto" in the model.
In the form view I wrote:
<?php $this->widget('application.extensions.tinymce.ETinyMce', array('name'=>'Pagina[texto]', 'plugins' => array('safari', /* ... */), 'options' => array( 'theme' => 'advanced', 'skin' => 'o2k7', ), 'width'=> '95%', 'value' => $model->texto)); ?>
That field is present among other required fields.
If I enter nothing in the form and press submit, the other required fields are validated by jformvalidate, not the TinyMCE one.
If I fill the other required fields and press submit, normal validation occurs and the error that the TinyMCE field must not be empty is displayed.
Why jformvalidation is not working for TinyMCE?