$CKEditor_initialValue = ""; how to make this the value that was previously entered by the user?
I would like my HTML Editor field to display the text that was entered by the user should its validation, or other validation on the same page, fail. At the moment it wipes the fields when a validation fails.
I've worked out how to do it for basic input fields, adding value="<?php echo(ValidatedField("newspreview_166","formTEXTINPUT")) ?>"
However the default value for the HTML Editor box is referenced as follows:
$CKEditor_initialValue = "";
I tried adding this:
$CKEditor_initialValue = "<?php echo(ValidatedField("newspreview_166","formTEXTAREAINPUT")) ?>";
But that throws back a syntax error.
Hope you can help, thank you.
NJ