![]() | | ||||||||
| | #1 |
| Active Warrior War Room Member Join Date: Sep 2008 Location: Massachusetts, USA
Posts: 93
Thanks: 105
Thanked 13 Times in 10 Posts
|
Is there somewhere I can find the code for a simple opt-in box to put at the bottom of a web page?
|
| | |
| | #2 |
| Eschew Obfuscation War Room Member Join Date: Aug 2008 Location: Atlanta
Posts: 623
Thanks: 12
Thanked 48 Times in 40 Posts
|
The opt in code itself just creates the form that you see on your page. You still have to have some way to get that data from the form to a database. Most autoresponders generate the code for you and handle all the database managment behind the scenes. So putting the form there is easy. Getting it into a database is the more complicated part. Sorry if I answered a question you weren't really asking. - Russ |
| | |
| | #3 |
| HyperActive Warrior Join Date: Mar 2008 Location: Amsterdam , Netherlands.
Posts: 156
Thanks: 3
Thanked 1 Time in 1 Post
|
Hi, Here's the HTML for a form. <DIV ALIGN="center"> <TABLE> <FORM ACTION="http://www.formmail.com/etc/etc/" METHOD="post"> <TABLE WIDTH="300" BORDER="3" CELLSPACING="5" BGCOLOR="#3399CC" BORDERCOLOR="#000000"> <TR> <TD WIDTH="50%">Your Name:</TD> <TD WIDTH="50%"><INPUT TYPE="text" NAME="fullname" MAXLENGTH="25" SIZE="30"></TD> </TR> <TR> <TD WIDTH="50%">Your E-Mail:</td> <TD WIDTH="50%"><INPUT TYPE="text" NAME="email" MAXLENGTH="25" SIZE="30"></TD> </TR> <TR> <TH><INPUT TYPE="submit" VALUE="Subscribe Now!"></TH> <TH><INPUT TYPE="reset" VALUE="Clear form"></TH> </TR> <INPUT TYPE="hidden" NAME="recipient" VALUE="you@yourdomain.com"> <INPUT TYPE="hidden" NAME="subject" VALUE="Newsletter"> <INPUT TYPE="hidden" NAME="required" VALUE="fullname,email"><!-- must be given otherwise redirected to error.html --> <INPUT TYPE="hidden" NAME="confirmation" VALUE="thanks.html"><!-- redirect after --> <INPUT TYPE="hidden" NAME="error_page" VALUE="whoops.html"><!-- redirect if error --> </FORM > </TABLE> </DIV> For the form handling I suggest you go to formmail.com and open a free account which lets you receive a 100 or so forms a month. For a reasonable price you can get more forms handled. Any questions, get in touch. Good Luck Mike |
| | |
| | |
![]() |
|
| Tags |
| box, optin, setting |
| Thread Tools | |
| |
![]() |