close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Validation Not Working

Thread began 2/03/2010 10:21 am by miguel.bermeo399946 | Last modified 2/03/2010 3:31 pm by Jason Byrnes | 952 views | 1 replies |

miguel.bermeo399946

Validation Not Working

Hi, I am working in dreamweaver CS3. That's where I built the form. I am adding Spry Validation to the fields, setting up the preferences and when I upload its not working. Yes, I have also uploaded the Spry files to the server. Can you suggest what I am doing wrong?

The form is at:
schoolreg_index.htm

I presently have validate on question 1. I had it on every question but removed it when the error messages were just appearing.

Please advise.

Sign in to reply to this post

Jason ByrnesWebAssist

you have a few problems going on. Spry is based on javascript, for the spry validation to work correctly, your form element names must conform to javascript variable naming rules:

1) Names may only contain letters and numbers. the only exception is the underscore, "_", character.

2) names may not begin with a number.

you have form elements that begin with numbers:
<input id="00N60000001n0nN" maxlength="80" name="00N60000001n0nN" size="20" type="text" />


and the submit button has "{}" in the name:
<input type="image" value="Submit" name="{Button_Name}" src="../pic/participate/pic/submit2.gif" height="27" width="130" />


these are causing javascript errors to occur when trying to validate. I also think the name debug is invalid:
<input type="hidden" name="debug" value="0" />

Sign in to reply to this post

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