-
FormValidator is Undefined...
I get the error message: "FormValidator is undefined", but can't seem to figure out why. Here is the script the error is being generated from:
===================================
<script language="JavaScript">
$validator = new FormValidator("contact_form");
//remove the following two lines if you like error message box popups
frmvalidator.addValidation("name","req","Please provide your name");
frmvalidator.addValidation("email","req","Please provide your email");
frmvalidator.addValidation("email","email","Please enter a valid email address");
</script>
<script language='JavaScript' type='text/javascript'>
function refreshCaptcha()
{
var img = document.images['captchaimg'];
img.src = img.src.substring(0,img.src.lastIndexOf("?"))+"?rand="+Math.random()*1000;
}
</script>
===================================
If you need more info on the page the script is on, click link below:
http://www.prescriptionpc.com/php/co...criptionpc.php
Any help would be greatly appreciated!
-Bruce
-
-
ok, I seemed to have figured it out - the code was implemented (copied/pasted) into an incorrect area of the document...all seems "ok" for now...
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks