[Bug?] Duplicate SS validation error display for HTML Editors?
I've had this happen both times that I've tried to create this page, duplicate error messages on a HTML Editor:
<li class="formItem">
<div class="formGroup">
<div class="lineGroup">
<div class="fullColumnGroup">
<div class="errorGroup">
<div class="fieldPair">
<div class="fieldGroup">
<span><?php
// The initial value to be displayed in the editor.
$CKEditor_initialValue = "".((isset($_GET["invalid"])?ValidatedField("scrubbedIns","SCRUBFIELD",false):"")) ."";
$CKEditor = new CKEditor();
$CKEditor->basePath = "../../webassist/ckeditor/";
$CKEditor_config = array();
$CKEditor_config["wa_preset_name"] = "Normal";
$CKEditor_config["wa_preset_file"] = "Normal.xml";
$CKEditor_config["width"] = "392px";
$CKEditor_config["height"] = "250px";
$CKEditor_config["skin"] = "kama";
$CKEditor_config["dialog_startupFocusTab"] = false;
$CKEditor_config["fullPage"] = false;
$CKEditor_config["tabSpaces"] = 4;
$CKEditor_config["toolbar"] = array(
array( 'Bold','Italic','Underline'),
array( 'JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'),
array( 'OrderedList','UnorderedList','-','Outdent','Indent'),
array( 'FontName','FontSize'),
array( 'TextColor'));
$CKEditor_config["contentsLangDirection"] = "ltr";
$CKEditor_config["entities"] = false;
$CKEditor_config["pasteFromWordRemoveFontStyles"] = false;
$CKEditor_config["pasteFromWordRemoveStyles"] = false;
$CKEditor->editor("efsDesc", $CKEditor_initialValue, $CKEditor_config);
?><label for="SCRUBFIELD" class="sublabel" >General Description<span class="requiredIndicator"> *</span></label>
<?php
if (ValidatedField('SCRUBFIELD','SCRUBFIELD')) {
if ((strpos((",".ValidatedField("SCRUBFIELD","SCRUBFIELD").","), "," . "7" . ",") !== false || "7" == "")) {
if (!(false)) {
?><span class="serverInvalidState" id="Insert_group_11_ServerError">Please enter a value.</span><?php //WAFV_Conditional SCRUBFILE.php scrubbedIns(7:)
}
}
}?>
</span>
<?php
if (ValidatedField('SCRUBFIELD','SCRUBFIELD')) {
if ((strpos((",".ValidatedField("SCRUBFIELD","SCRUBFIELD").","), "," . "7" . ",") !== false || "7" == "")) {
if (!(false)) {
?><span class="serverInvalidState" id="Insert_group_11_ServerError">Please enter a value.</span><?php //WAFV_Conditional SCRUBFILE.php scrubbedIns(7:)
}
}
}?>
</div>
</div>
</div>
</div>
</div>
</div>
</li>