|
Form validation not working in Firefox
Hey everyone
I have a form on a page that people fill in their name, address, email
and such and then when the submit button is pressed an external JS file
validates the data, for example if nothing is entered in the name textbox then an alert will pop up saying "Please enter your name" etc.
I have a problem that when the submit button is pressed in Firefox (and i think IE7) instead of validateing with the javascript file it just goes straight to the submission page
can anyone shed light on this?
thankyou in advance
-Alex
|