Fred
12-05-2002, 11:31 PM
I would like to use the following form code on my homepage for visitors to subscribe to my mailing list, but I cannot figure out how to get the redirect tag within, to either 1) default back to the homepage, or 2) redirect to a new browser window.
Here's the form code I am working with:
<form name="form1" method="post" action="http://www.cyberserious.com/cgi-bin/auto_followup.pl">
<font face="Verdana, Arial, Helvetica, sans-serif"><b><font face="Arial, Helvetica, sans-serif" color="#FF0000">Detective
Tips!</font><font face="Arial, Helvetica, sans-serif"> <br>
Receive FREE Valuable Tips<br>
on How to do Your Own<br>
Investigative Work Online!</font></b></font><br>
<input type="hidden" name="product" value="netdet">
<input type="hidden" name="remind" value="ON">
<input type="hidden" name="newsletter" value="ON">
<input type="hidden" name="redirect" value="http://www.cyberserious.com/thankyou.htm">
<br>
<b><font face="Arial, Helvetica, sans-serif">Your Name:</font></b><br>
<input name="name" size="15">
<font face="Arial, Helvetica, sans-serif"><b><br>
Your Email:</b></font> <br>
<input name="email" size="15">
<br>
<font size="2">
<input type="submit" value="Submit" style="font-family: Arial, Helvetica, sans-serif; font-size: 12pt" name="submit">
</font> <br>
</form>
This code as it is here redirects to thankyou.htm
I tried changing the line:
<input type="hidden" name="redirect" value="http://www.cyberserious.com/thankyou.htm">
to
<input type="hidden" name="redirect" value="http://www.cyberserious.com"> but it still redirects to thankyou.htm.
I also tried this:
<input type="hidden" name="redirect" value="http://www.cyberserious.com/thankyou.htm" target="new">
to see if that would redirect thankyou.htm to a new browser window, but the target="new" apparently doesn't work with redirects.
Fred
Here's the form code I am working with:
<form name="form1" method="post" action="http://www.cyberserious.com/cgi-bin/auto_followup.pl">
<font face="Verdana, Arial, Helvetica, sans-serif"><b><font face="Arial, Helvetica, sans-serif" color="#FF0000">Detective
Tips!</font><font face="Arial, Helvetica, sans-serif"> <br>
Receive FREE Valuable Tips<br>
on How to do Your Own<br>
Investigative Work Online!</font></b></font><br>
<input type="hidden" name="product" value="netdet">
<input type="hidden" name="remind" value="ON">
<input type="hidden" name="newsletter" value="ON">
<input type="hidden" name="redirect" value="http://www.cyberserious.com/thankyou.htm">
<br>
<b><font face="Arial, Helvetica, sans-serif">Your Name:</font></b><br>
<input name="name" size="15">
<font face="Arial, Helvetica, sans-serif"><b><br>
Your Email:</b></font> <br>
<input name="email" size="15">
<br>
<font size="2">
<input type="submit" value="Submit" style="font-family: Arial, Helvetica, sans-serif; font-size: 12pt" name="submit">
</font> <br>
</form>
This code as it is here redirects to thankyou.htm
I tried changing the line:
<input type="hidden" name="redirect" value="http://www.cyberserious.com/thankyou.htm">
to
<input type="hidden" name="redirect" value="http://www.cyberserious.com"> but it still redirects to thankyou.htm.
I also tried this:
<input type="hidden" name="redirect" value="http://www.cyberserious.com/thankyou.htm" target="new">
to see if that would redirect thankyou.htm to a new browser window, but the target="new" apparently doesn't work with redirects.
Fred