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.
|
|
|
|
|
![]() |
||
Javascript Form error
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
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.
|
|
|
|
|||
|
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... |
|
|||
|
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?
|
|
|||
|
Re: Javascript Form error
They still aren't identical in your code? String are case sensitive in JavaScript...
|
![]() |
| Tags |
| error, validation |
| Thread Tools | |
|
|
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 |