D
DArcy J. Goodfellow
I'm fairly new to setting up email forms, and am having problems getting the
code to redirect to a confirmation page. It instead shows the information
being sent and the email address being sent to. It would be greatly
appreciated if someone could look at the below code and tell me what I'm
doing wrong. Thanks!
<HTML>
<HEAD>
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
<meta http-equiv="Content-Language" content="en-us">
<TITLE>Contact Us</TITLE>
</HEAD>
<BODY>
<p><b><font face="Verdana" size="4">Contact Us</font></b></p>
<hr>
<form action="--WEBBOT-SELF--" enctype="multipart/form-data" method="POST"
onSubmit="location.href='_derived/nortbots.htm';return false;"
webbot-onSubmit>
<!--webbot bot="SaveResults" U-File="_private/feedback.txt"
S-Format="TEXT/PRE" S-Label-Fields="TRUE" B-Reverse-Chronology="FALSE"
S-Email-Format="TEXT/PRE" S-Email-Address="(e-mail address removed)"
B-Email-Label-Fields="TRUE" S-Builtin-Fields startspan --><input
TYPE="hidden" NAME="VTI-GROUP" VALUE="0"><!--webbot bot="SaveResults"
i-checksum="43374" endspan -->
<P>
<font face="Verdana">Choose one of the following options:</font></P>
<BLOCKQUOTE>
<P>
<SELECT NAME="emailform">
<OPTION SELECTED>General Information
<OPTION>Product Inquiry
<OPTION>Product Returns
<OPTION>Shippings Costs
<OPTION>Order Status
<OPTION>Web Site Problems
<OPTION>Other
</SELECT>
<BR>
</P>
</BLOCKQUOTE>
<BLOCKQUOTE>
<TABLE>
<TR>
<TD ALIGN="right">
<font face="Verdana">
<EM style="font-style: normal">Name</EM></font></TD>
<TD>
<INPUT TYPE=TEXT NAME="Contact_FullName" SIZE=35>
</TD>
</TR>
<TR>
<TD ALIGN="right">
<font face="Verdana">
<EM style="font-style: normal">E-mail</EM></font></TD>
<TD>
<INPUT TYPE=TEXT NAME="Contact_Email" SIZE=25>
</TD>
</TR>
<tr>
<td colSpan="2"><font face="Verdana" size="2">
Comments</font><font face="Verdana"><br>
</font><font face="Verdana">
<textarea name="comments" rows="6" cols="37"></textarea></font></td>
</tr>
</TABLE>
</BLOCKQUOTE>
<input type="hidden" name="sendtoemail" value="(e-mail address removed)"><br>
<input type="submit" value="Send Email">
<INPUT TYPE=RESET VALUE="Reset Form">
<input type="hidden" name="redirect" value="http://www.thankyou.htm">
</FORM>
</BODY>
</HTML>
code to redirect to a confirmation page. It instead shows the information
being sent and the email address being sent to. It would be greatly
appreciated if someone could look at the below code and tell me what I'm
doing wrong. Thanks!
<HTML>
<HEAD>
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
<meta http-equiv="Content-Language" content="en-us">
<TITLE>Contact Us</TITLE>
</HEAD>
<BODY>
<p><b><font face="Verdana" size="4">Contact Us</font></b></p>
<hr>
<form action="--WEBBOT-SELF--" enctype="multipart/form-data" method="POST"
onSubmit="location.href='_derived/nortbots.htm';return false;"
webbot-onSubmit>
<!--webbot bot="SaveResults" U-File="_private/feedback.txt"
S-Format="TEXT/PRE" S-Label-Fields="TRUE" B-Reverse-Chronology="FALSE"
S-Email-Format="TEXT/PRE" S-Email-Address="(e-mail address removed)"
B-Email-Label-Fields="TRUE" S-Builtin-Fields startspan --><input
TYPE="hidden" NAME="VTI-GROUP" VALUE="0"><!--webbot bot="SaveResults"
i-checksum="43374" endspan -->
<P>
<font face="Verdana">Choose one of the following options:</font></P>
<BLOCKQUOTE>
<P>
<SELECT NAME="emailform">
<OPTION SELECTED>General Information
<OPTION>Product Inquiry
<OPTION>Product Returns
<OPTION>Shippings Costs
<OPTION>Order Status
<OPTION>Web Site Problems
<OPTION>Other
</SELECT>
<BR>
</P>
</BLOCKQUOTE>
<BLOCKQUOTE>
<TABLE>
<TR>
<TD ALIGN="right">
<font face="Verdana">
<EM style="font-style: normal">Name</EM></font></TD>
<TD>
<INPUT TYPE=TEXT NAME="Contact_FullName" SIZE=35>
</TD>
</TR>
<TR>
<TD ALIGN="right">
<font face="Verdana">
<EM style="font-style: normal">E-mail</EM></font></TD>
<TD>
<INPUT TYPE=TEXT NAME="Contact_Email" SIZE=25>
</TD>
</TR>
<tr>
<td colSpan="2"><font face="Verdana" size="2">
Comments</font><font face="Verdana"><br>
</font><font face="Verdana">
<textarea name="comments" rows="6" cols="37"></textarea></font></td>
</tr>
</TABLE>
</BLOCKQUOTE>
<input type="hidden" name="sendtoemail" value="(e-mail address removed)"><br>
<input type="submit" value="Send Email">
<INPUT TYPE=RESET VALUE="Reset Form">
<input type="hidden" name="redirect" value="http://www.thankyou.htm">
</FORM>
</BODY>
</HTML>