hi,
I have a cgi form. The form is thru my hosting which uses, Matt Wrights form mail.
I can get the form to work and submit the info, the only issue is that when the form
is submitted, I want the user redirected to a thank you page. Instead, the form goes
to
www.goviewmy.com/cgi-bin/formailHow do I redirect to a page on clicking the submit form?
Here is the code.
<FORM ACTION="/cgi-bin/formmail"
METHOD="POST">
<INPUT TYPE=HIDDEN NAME="recipient" VALUE="sales@goviewmy.com"
>
<INPUT TYPE=HIDDEN NAME="redirect" VALUE="
www.goviewmy.com">
<CENTER>
<P ALIGN=CENTER>
<TABLE CELLPADDING="2" CELLSPACING="0" BORDER="0">
<TR>
<TD COLSPAN="2" VALIGN=TOP>
<P ALIGN=CENTER>
<FONT FACE="Verdana"><B><FONT SIZE="3">Visitor Feedback</FONT></B></FONT>
</TD>
</TR>
</TABLE></P>
</CENTER>
<CENTER>
<P ALIGN=CENTER>
<TABLE CELLPADDING="2" CELLSPACING="0" BORDER="0">
<TR>
<TD VALIGN=TOP>
<P ALIGN=RIGHT>
<FONT FACE="Verdana"><FONT SIZE="2">Your name:</FONT></FONT></TD>
<TD VALIGN=TOP>
<DIV>
<P ALIGN=LEFT>
<INPUT TYPE=TEXT NAME="aaName" SIZE="40" MAXLENGTH="125"></TD>
</TR>
<TR>
<TD VALIGN=TOP>
<P ALIGN=RIGHT>
<FONT FACE="Verdana"><FONT SIZE="2">Your email:</FONT></FONT></TD>
<TD VALIGN=TOP>
<DIV>
<P ALIGN=LEFT>
<INPUT TYPE=TEXT NAME="abClientEmail" SIZE="40" MAXLENGTH="125"></TD>
</TR>
<TR>
<TD VALIGN=TOP>
<P ALIGN=RIGHT>
<FONT FACE="Verdana"><FONT SIZE="2">Comments:</FONT><
/FONT></TD
>
<TD VALIGN=TOP>
<DIV>
<P ALIGN=LEFT>
<TEXTAREA NAME="acComments" COLS="40" ROWS="5"></TEXTAREA></TD>
</TR>
<TR>
<TD VALIGN=TOP>
<P ALIGN=LEFT>
</TD>
<TD VALIGN=TOP>
<CENTER>
<P ALIGN=CENTER>
<INPUT TYPE=SUBMIT VALUE="Submit"><INPUT TYPE=RESET NAME="xxClear" VALUE="Clear"></TD>
</TR>
</TABLE></P>
</CENTER>
</FORM>
Start Free Trial