close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

[Bug?] Duplicate SS validation error display for HTML Editors?

Thread began 7/26/2012 8:45 am by Andrew Read | Last modified 7/31/2012 6:12 pm by Andrew Read | 1010 views | 3 replies

Andrew Read

[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:

php:
<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">&nbsp;*</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>

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...