View Single Post
Old 12-10-2010, 12:32 PM   PM User | #5
Philip M
Supreme Master coder!

 
Philip M's Avatar
 
Join Date: Jun 2002
Location: London, England
Posts: 17,037
Thanks: 197
Thanked 2,411 Times in 2,389 Posts
Philip M has a spectacular aura aboutPhilip M has a spectacular aura aboutPhilip M has a spectacular aura about
You are not calling your validation script anywhere.
<input type="submit" name="Submit" value="Submit" />
You could have found this out just by putting in an alert.
Code:
function formValidator(form){
alert ("So far so good");
Try this:-
Code:
<input type="submit" name="Submit" value="Submit" onsubmit = return formValidator(this.form){/>
Philip M is offline   Reply With Quote