ehooper
08-14-2007, 07:58 PM
I've read multiple solutions for this and not a one worked... copied EXACTLY and it doesn't work! (who's circulating this stuff?) Anyway, how do I get a form to both mailto:soandso@this.com AND redirect to a confirmation page at the same time. I had this:
<form name="formcheck" onsubmit="return formCheck(this);" action="emailcensored" method="post" enctype="text/plain" >
...
<INPUT type=submit value="Submit Form" Onclick="document.location='thankyou.htm';">
It worked just fine in IE, but in anything else it would just redirect before running the field validation script.
So, I'm stumped, can anyone help? (I also have a thread going in javascript forum to see if anyone can get the validation script to redirect for me)
<form name="formcheck" onsubmit="return formCheck(this);" action="emailcensored" method="post" enctype="text/plain" >
...
<INPUT type=submit value="Submit Form" Onclick="document.location='thankyou.htm';">
It worked just fine in IE, but in anything else it would just redirect before running the field validation script.
So, I'm stumped, can anyone help? (I also have a thread going in javascript forum to see if anyone can get the validation script to redirect for me)