close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Form builder crashes when edited

Thread began 4/07/2010 8:58 pm by dave378160 | Last modified 4/14/2010 5:18 pm by dave378160 | 2071 views | 11 replies


Hiya Dave,

The error message you get in DreamWeaver (which doesn't necessarily show when viewing page in Browser) - "This document contains javascript code for a widget that no longer exists etc." refers to the Spry validation javascript widgets between the <script> tags near the bottom of your page code

At the moment in your page at (contact.php), you have five lines of code for (what should be) five Spry validation fields in your form:

<script type="text/javascript">
var Contact_me_group_Name_Spry = new Spry.Widget.ValidationTextField("Contact_me_group_Name_Spry", "none",{validateOn:["blur"]});
var Contact_me_group_Email_Spry = new Spry.Widget.ValidationTextField("Contact_me_group_Email_Spry", "email",{validateOn:["blur"]});
var Contact_me_group_Comments_Spry = new Spry.Widget.ValidationTextarea("Contact_me_group_Comments_Spry",{validateOn:["blur"]});
var Contact_me_group_Security_code_Spry = new Spry.Widget.ValidationTextField("Contact_me_group_Security_code_Spry", "none",{validateOn:["blur"]});
var Contact_me_group_nbsp_Spry = new Spry.Widget.ValidationTextField("Contact_me_group_nbsp_Spry", "none",{validateOn:["blur"]});

but you only have three fields in your form that are currently being Spry validated, i.e. only three have a Spry <span id="somename_Spry> </span> that is matched with a javascript widget line at the bottom of your page.

In your form, at the moment, the fields you are validating with Spry are the Name, Email and Security code (captcha) fields.

<span id="Contact_me_group_Name_Spry">
<span id="Contact_me_group_Email_Spry">
<span id="Contact_me_group_Security_code_Spry">

For now, the lines shown in gray in the javascript widget lines above (3rd & 5th) should be removed. You can easily add Spry validation to any other element later if you want to.

I can't make out all the errors in that last image, but they're surely not for live the page you link to are they, (hopefully)?

If you could post a copy of the latest page you're working on, we should be able to identify what the error messages are referring to.

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





Ease of use


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...