Author Topic: Redirect after form is filled out  (Read 5420 times)

fictionaldamo

  • Posts: 10
    • View Profile
    • http://www.prudentview.com
Redirect after form is filled out
« on: December 14, 2004, 08:01:59 am »
How do I sustitute a redirect html page for my customers who request my information on a form from my site. Here is the code I am trying to use.

<BR>
<BR>
<CENTER>
<TABLE>
<FORM ACTION="http://www.<snip>.com/mail/signup.php" METHOD="post">
<INPUT TYPE="hidden" VALUE="2" NAME="list">
<INPUT TYPE="hidden" VALUE="cuty.html" NAME="redirect">
<TR>
<TD>First Name:</TD>
<TD> <INPUT TYPE="text" SIZE="25" NAME="fname"></TD>
</TR>
<TR>
<TD>Email:</TD>
<TD><INPUT TYPE="text" SIZE="25" NAME="email"></TD>
</TR>
<TR>
<TD>Phone:</TD>
<TD><INPUT TYPE="text" SIZE="25" NAME="user1"></TD>
</TR>
<TR ALIGN="CENTER">
<TD COLSPAN="2"><INPUT TYPE="submit" VALUE="Request FREE HOUR!" NAME="sup">
</TD></TR><TR>

</TR></FORM></TABLE>
</CENTER>

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
Redirect after form is filled out
« Reply #1 on: December 14, 2004, 09:51:41 am »
You can set up something like the following in your list's Custom HTML -> Subscribe Success page:

Code: [Select]
<html>
<head>
<meta http-equiv="refresh" content="2; URL=http://yoursite.com/mysignup.html">
</head>
<body>
<a href="http://yoursite.com/mysignup.html">Click here</a> if you are not redirected in 2 seconds
</body>
</html>


There is also a way to forward the message codes, available in Custom HTML, to your page:

Code: [Select]
<html>
<head>
<meta http-equiv="refresh" content="2; URL=http://yoursite.com/mysignup.html?e=!email&fn=!fname">
</head>
<body>
<a href="http://yoursite.com/mysignup.html?e=!email&fn=!fname">Click here</a> if you are not redirected in 2 seconds
</body>
</html>

Hope that helps!

Regards
Dean Wiebe
ListMailPRO Author & Developer - Help | Support | Hosting

masat

  • Posts: 3
    • View Profile
Another way
« Reply #2 on: August 04, 2005, 08:15:05 pm »
I particularly like the second method Dean suggested above but I thought I would throw this out:

<script language="JavaScript">
<!--
              window.location.replace('your redirect to link goes here');
//-->
</script>

I use this on many of my pages when I am converting a site from html to php type pages. I simply post the little script into the html page at the bottom and then leave it up for a while in case the page is bookmarked or stashed in someones favorites.

You could place this in your Subscribe Success page to handle redirection on a nearly immediate basis.

This can also be useful if you don't know about the ways to use htaccess to redirect for missing/replaced pages
How do you know when you know what you want to do for the rest of your life?

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
Redirect after form is filled out
« Reply #3 on: August 05, 2005, 07:53:21 am »
v1.81 provides the option to specify a URL for each page instead of using Custom HTML.  8)

Regards
Dean Wiebe
ListMailPRO Author & Developer - Help | Support | Hosting

acheson

  • Posts: 4
    • View Profile
Redirection different for every list
« Reply #4 on: January 04, 2008, 09:26:45 pm »
I understand how we can redirect using the success signup page but I am wanting to have a different redirection for each list.  For example, I have lists for many different products that are sold under the same site.  If I have a capture page that will go to a particular list, is there a way I can redirect to a given page  BUT have that different for every list I create?

Diana