close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Validation not working at all

Thread began 7/19/2009 1:28 am by Daryl | Last modified 7/20/2009 7:58 am by Ray Borduin | 2942 views | 6 replies |

DarylBeta Tester

Validation not working at all

I have created an online application form, however none of the validation works when clicking the submit button.

I have used this product before but have never had this problem before.

The page can be found here http://k9-sar.com/Application_Form.php

Sign in to reply to this post

john293655

That's one hell of a validation routine

Hey Daryl,

Have you tried removing some of the validation?

My browser shows an error on line 354 at character 3235. Missing ")"

Now, I've gone through a couple of times, even breaking each validation onto a separate line, and I don't see any missing parenthesis, so I'm wondering if you've exceeded some character limit.

Mind you - it's 4.55am here and I am a little bleary - so I'm not ruling out the fact I've missed it.

First thing I'd do would be to reduce that onsubmit chunk and see if it works.


Hope that helps.


Cheers
John

Sign in to reply to this post

DarylBeta Tester

John

I have seen that error too on Error Console, however I have compared it to the validation before it and its exactly the same but doesn't throw up any errors.

Bizzare!

Sign in to reply to this post

john293655

I don't know

I would try reducing the checks though, just for the hell of it.

The page validates or at least it *did* ;-)

Guess you're still working on it. I couldn't see any missing commas, misplaced commas or quotes, nothing that would cause the browser to parse the code interpreting ) as part of a text string - so you've got me.

Personally I prefer Server-Side validation because a) I can't stand js and b) I have more control over the testing. Sure, both are better - but mostly the first reason is enough for me to stay away from Client-Side. Besides. There's no guarantee JS is enabled.

Good luck with it anyway.


Cheers
John

p.s. You have a typo on your 5th checkbox. : )

Sign in to reply to this post

DarylBeta Tester

I am still working on it

I have decided to start the validation all over again, doing a few at a time and then testing it - bit annoying to say the least!

I haven't got my head around using server side validation yet.

Sign in to reply to this post

DarylBeta Tester

OK, the problem seems to occur when I validate more than 1 checkbox...

any ideas out there?

I have managed to get the page working by using radio buttons instead, but if anyone has an answer I would still be interested to hear it.

Sign in to reply to this post

Ray BorduinWebAssist

If you put up a URL of a page that you have tried and is not working I could look at it and probably determine what is wrong.

Sign in to reply to this post
Did this help? Tips are appreciated...

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