Javascript Form error

This is a discussion on "Javascript Form error" within the JavaScript Forum section. This forum, and the thread "Javascript Form error are both part of the Program Your Website category.



Go Back   Webforumz.com > Main Forums > Program Your Website > JavaScript Forum

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Jan 5th, 2007, 00:02
Junior Member
Join Date: Aug 2006
Location: New Jersey
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Javascript Form error

could some one go to this page http://www.gnccbridalshow.com/registerwinter.htm . when you fill out the form there is some JS code that tells you you forgo stuff. but the thig is that even when all the forms are filled out it still gives the error.
Reply With Quote

  #2 (permalink)  
Old Jan 5th, 2007, 00:18
Reputable Member
Join Date: Jul 2006
Location: Scotland
Age: 22
Posts: 357
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to snow
Re: Javascript Form error

I would assume it's because your two strings don't match:

"The following required fields\nhave been left empty:\n"
"The following REQUIRED fields\nhave been left empty:\n"

However, this seems a little bit of a strange, round-about way to validate a form to me in any case...
Reply With Quote
  #3 (permalink)  
Old Jan 5th, 2007, 00:41
Junior Member
Join Date: Aug 2006
Location: New Jersey
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Exclamation Re: Javascript Form error

It is still doing it. it just returns in an alert box " the following required fields have been left empty:" and then does not state what is empty?
Reply With Quote
  #4 (permalink)  
Old Jan 5th, 2007, 00:44
Reputable Member
Join Date: Jul 2006
Location: Scotland
Age: 22
Posts: 357
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to snow
Re: Javascript Form error

They still aren't identical in your code? String are case sensitive in JavaScript...
Reply With Quote
  #5 (permalink)  
Old Jan 5th, 2007, 00:53
Junior Member
Join Date: Aug 2006
Location: New Jersey
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Javascript Form error

thanks it worked
Reply With Quote
Reply

Tags
error, validation

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Form error messages help psycho wolvesbane JavaScript Forum 0 Mar 21st, 2008 14:50
Javascript Copy to clipboard Object Error andrewlondon JavaScript Forum 1 Sep 24th, 2007 13:15
Javascript Error armysurplus JavaScript Forum 3 Apr 27th, 2007 16:42
Javascript Error on Dreamweaver pepe_starr JavaScript Forum 5 Aug 16th, 2006 10:19
Urgent Javascript help (2 script coincide error) bmass JavaScript Forum 0 Jul 21st, 2006 05:56


All times are GMT. The time now is 04:32.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43