Redirecting Email Forms

  • Thread starter DArcy J. Goodfellow
  • Start date
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="[email protected]"
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="[email protected]"><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>
 
R

Ronx

Since the form is using the FP extensions as a form handler, these
fields do nothing - except display in the confirmation page:
<input type="hidden" name="sendtoemail" value="[email protected]"><br>

<input type="hidden" name="redirect" value="http://www.thankyou.htm">

The sendto email address and confirmation page address are set up in
the form properties - where you have already set the sendto email
addy, the confirmation page can be found on one of the options tags -
click Options button...
--
Ron Symonds - Microsoft MVP (FrontPage)
Reply only to group - emails will be deleted unread.
FrontPage Support: http://www.frontpagemvps.com/

"DArcy J. Goodfellow" <[email protected]>
wrote in message
 
D

DArcy J. Goodfellow

Thanks very much. That did the trick!

D'Arcy

Ronx said:
Since the form is using the FP extensions as a form handler, these
fields do nothing - except display in the confirmation page:
<input type="hidden" name="sendtoemail" value="[email protected]"><br>

<input type="hidden" name="redirect" value="http://www.thankyou.htm">

The sendto email address and confirmation page address are set up in
the form properties - where you have already set the sendto email
addy, the confirmation page can be found on one of the options tags -
click Options button...
--
Ron Symonds - Microsoft MVP (FrontPage)
Reply only to group - emails will be deleted unread.
FrontPage Support: http://www.frontpagemvps.com/

"DArcy J. Goodfellow" <[email protected]>
wrote in message
 
Top