Quote (carteblanche @ Aug 6 2012 12:48am)
can you describe what the problem you're experiencing is?
Yes, sorry.
When I press the submit button on the form, the validator works, I can tell because the border becomes red on the text fields. However, it doesn't go through with the action(quote.php).
I know the problem is the validator, because when I remove it or change the validate form function
from this:Code
function validateForm(contact) {
var errReport = "";
errReport += validName(contact.name);
errReport += validEmail(contact.email);
errReport += validMessage(contact.message);
errReport += validHuman(contact.human);
errReport += validSubject(contact.subject);
if (errReport != "") {
return false;
}
return true;
}
to this:Code
function validateForm(contact) {
var errReport = "";
errReport += validName(contact.name);
errReport += validEmail(contact.email);
errReport += validMessage(contact.message);
errReport += validHuman(contact.human);
errReport += validSubject(contact.subject);
if (errReport == "") {
return false;
}
return true;
}
then Quote.php will run, but then of course the validator doesn't work correctly..
What do I have to change to make it run correctly?
Let me know if I need to explain anything else
This post was edited by PixileDust on Aug 6 2012 01:02am