Here's my form page...
http://www.nawt.net/assets/captcha/example.html and here's the external script that works well on other forms but not on this form.
Can anyone see why it doesn't work?Code:<!-- Begin function checkFields() { missinginfo = ""; if (document.myForm.fname.value == "") { missinginfo += "\n - Name"; } if ((document.myForm.email.value == "") || (document.myForm.email.value.indexOf('@') == -1) || (document.myForm.email.value.indexOf('.') == -1)) { missinginfo += "\n - Email address"; } if(document.myForm.subject.value == "") { missinginfo += "\n - Business name"; } if (missinginfo != "") { missinginfo ="\n" + "You didn't correctly enter your:\n" + missinginfo + "\n_____________________________" + "\nPlease re-enter and submit again!"; alert(missinginfo); return false; } else return true; } // End -->



Reply With Quote

Bookmarks