HTML Help - Adding Email Sign up To Squeeze Page

2 replies
  • WEB DESIGN
  • |
Hi Guys

I'm trying to build a squeeze page and I have a template I'm using. When someone clicks "Get Inside" I want them to be redirected to a page I designate and I want an email sent to me with their name and access code.

How do I do this with the below?


HTML Code:
</TD></TR>
<TR><td rowspan=2 width=7></td>
    
<TD align=right width=40 class=optinbox>Name:</td><td width=140 align=left><input type="text" name="name" value="" size=16 /></td></tr>
<TR><TD align=right class=optinbox>Access Code:</td><TD align=left><input type="text" name="code" value="" size=16  /></td></tr>    
<TR><Td colspan=3 align=center><input name="submit" class="optinsubmit" type="submit" value="Get Inside!" /></td></tr>
<TR><td colspan=3 class=optinprivacy style="padding-bottom:15px;">
<div style="display: none;">
</div>
<BR>

</td></tr></table></td>
</tr>


</table></center></td></tr></table></center>
Thank you!

Skye
#adding #email #html #page #sign #squeeze
  • Profile picture of the author petebolduc
    You do not include the form tag but download the txt doc from the link below and rename it with a php extension. The WYSIWYG would not take the php code.


    http://http://imbizmanager.com/send-my-mail.txt

    Then your form tag should look like this:

    <form action="path-to/send-my-mail.php" method="POST">

    the wording after the # on the txt that you renamed with a php extension are your instructions on what to put in the variables.

    This will work for you even if your site is all html providing you save the php code below on its own page and enter the correct path to it in the form tag as shown above.




    Hope this Helps
    Pete
    {{ DiscussionBoard.errors[6916171].message }}
    • Profile picture of the author SkyeFWP
      Originally Posted by petebolduc View Post

      You do not include the form tag but download the txt doc from the link below and rename it with a php extension. The WYSIWYG would not take the php code.


      http://http://imbizmanager.com/send-my-mail.txt

      Then your form tag should look like this:

      <form action="path-to/send-my-mail.php" method="POST">

      the wording after the # on the txt that you renamed with a php extension are your instructions on what to put in the variables.

      This will work for you even if your site is all html providing you save the php code below on its own page and enter the correct path to it in the form tag as shown above.




      Hope this Helps
      Pete
      Thanks for this Pete.

      I added the php file via cpanel and made the changes to the # sections as instructed.

      I then revised the HTML to include the new form tag but I'm not sure I got it right:

      HTML Code:
      </div></TD></TR>
      <TR><td rowspan=2 width=7></td>
      <form action="http://www.myurl.com/send-my-mail.php" method="POST">
      <TR><td colspan=3 class=optinprivacy style="padding-bottom:15px;">
      <div style="display: none;">
      </div>
      <BR>
      
      </td></tr></table></td>
      </tr>
      
      
      </table></center></td></tr></table></center>
      When I view the squeeze page there is no opt in box visible? Probably the way I've inserted the php code but could do with a pointer please?

      Thanks

      Skye
      {{ DiscussionBoard.errors[6918261].message }}

Trending Topics