Javascript form validation with Regular Expressions

P

psuwebmasters

http://pastebin.ca/301561

On that page is some code for a submittal form. I am trying to
validate a couple fields, and check an email address for accuracy, but
as it is, the form just gets handed off, regardless of whether or not
it meets the validation. Any thoughts on why it is ignoring the
Javascript?
 
R

Randy Webb

psuwebmasters said the following on 1/2/2007 4:16 PM:
http://pastebin.ca/301561

On that page is some code for a submittal form. I am trying to
validate a couple fields, and check an email address for accuracy, but
as it is, the form just gets handed off, regardless of whether or not
it meets the validation. Any thoughts on why it is ignoring the
Javascript?

Start by putting alert statements in your function and see what is
actually going on.

--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq/index.html
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Answer:It destroys the order of the conversation
Question: Why?
Answer: Top-Posting.
Question: Whats the most annoying thing on Usenet?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,534
Members
45,008
Latest member
Rahul737

Latest Threads

Top