|
|
|
 |
 |
 |
|
[ This topic is solved ]
|
|
xymod
|
13 August 10 / 13:22 |
|
Changed at 13 August 10 / 13:23
Hi
I was required to use tinyMCE as the editor so I used the code below:
$form->textArea("Description", "description", "FH_NOT_EMPTY", "", "", "class='mceEditor'");
|
However the validation on an empty field replaces the class with 'error' which results with the removal of the attached tinyMCE editor.
Is the a way of having the final class="mceEditor error" rather than class="error" if the validation fails?
|
|
|
Johan Wiegel (Admin)
|
16 August 10 / 10:36 |
|
Yep there is.
The value for class should be between "" and not between '':
$form->textArea("Description", "description", FH_NOT_EMPTY, "", "", 'class="mceEditor"');
Or download the new zip I placed to solve this problem
|
|
|
|
|
|