No default text in HTML editor instance on Update Page
:: Win7 x64, DW CS5.5, WADB 1.1.3 ::
I have a HTML editor instance created by WADB on my update form and it contains no default data. There is data in the database, but I don't see it on the page. Any ideas?
<div class="lineGroup"> <label for="activ_pgContent" class="sublabel" > Page Body:<span class="requiredIndicator"> *</span></label>
<div class="errorGroup">
<span><?php
// The initial value to be displayed in the editor.
$CKEditor_initialValue = "".((isset($_GET["invalid"])?ValidatedField("formUpd","table_pgContent",false):"".$row_WADArecordset["table_pgContent"]."")) ."";
$CKEditor = new CKEditor();
$CKEditor->basePath = "../../webassist/ckeditor/";
$CKEditor_config = array();
$CKEditor_config["wa_preset_name"] = "Full";
$CKEditor_config["wa_preset_file"] = "Full.xml";
$CKEditor_config["width"] = "514px";
$CKEditor_config["height"] = "350px";
$CKEditor_config["skin"] = "kama";
$CKEditor_config["dialog_startupFocusTab"] = false;
$CKEditor_config["fullPage"] = false;
$CKEditor_config["tabSpaces"] = 4;
$CKEditor_config["toolbar"] = array(
array( 'Cut','Copy','Paste','SpellCheck'),
array( 'Undo','Redo'),
array( 'Bold','Italic','Underline','Subscript','Superscript'),
array( 'NumberedList','BulletedList','-','Outdent','Indent'),
array( 'JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'),
array( 'Link','Unlink','Anchor'),
array( 'Table','Rule','SpecialChar'),
array( 'FontName','FontSize'),
array( 'TextColor','BGColor'));
$CKEditor_config["contentsLangDirection"] = "ltr";
$CKEditor_config["entities"] = false;
$CKEditor_config["pasteFromWordRemoveFontStyles"] = false;
$CKEditor_config["pasteFromWordRemoveStyles"] = false;
$CKEditor->editor("activ_pgContent", $CKEditor_initialValue, $CKEditor_config);
?>
<?php
if (ValidatedField('formUpd','formUpd')) {
if ((strpos((",".ValidatedField("formUpd","formUpd").","), "," . "7" . ",") !== false || "7" == "")) {
if (!(false)) {
?><span class="serverInvalidState" id="Update_group_ServerError_8">Please enter a value.</span><?php //WAFV_Conditional formUpd.php formUpd(7:)
}
}
}?>
</span>
</div>