setting up opt-in box

2 replies
  • WEB DESIGN
  • |
Is there somewhere I can find the code for a simple opt-in box to put at the bottom of a web page?
#box #optin #setting
  • Profile picture of the author write-stuff
    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
    {{ DiscussionBoard.errors[177929].message }}
    • Profile picture of the author MikeHayes
      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
      Signature

      * * * * My site * * * *
      * * * * My paintings * * * *

      {{ DiscussionBoard.errors[178362].message }}

Trending Topics