View Single Post
  #1  
Old 07-04-2006, 10:07 PM
 
MCM MCM is offline
 

Senior Member
  
Join Date: Dec 2005
Posts: 114
 

Default How to add customers to an outside newsletter when ordering

Hi,

I just signed up to do newsletters with an outside service (I'm very proud--I figured out how to put the sign up box on my pages all by myself )

Anyway, I'd like to have the option to join the newsletter be on the ordering page, as well. But, I figure having two forms run at the same time will be difficult. What I'd like to do is have the user's name and email be inputted into hidden form elements, and then find a way to submit the form when the order is submitted. If I can't do that, I can always put the sign up form on the page after the order has been placed, though I'd prefer not to (is there a way to import the person's data at that point, so they still just have to hit one button?)

Anyway, here's the code for the box:

Code:
<form action="http://sub.ezinedirector.net/index.cfm" method="post" target="_blank"> <input checked="checked" name="fuseaction" style="vertical-align: middle;" type="radio" value="s" /> Subscribe <input name="fuseaction" style="vertical-align: middle;" type="radio" value="r" /> Unsubscribe <span style="font-family: Verdana, Arial, Helvetica, sans-serif;"> MCM News and Special Offers <input checked="checked" name="EzineID" style="vertical-align: middle;" type="checkbox" value="964693600" /> </span> <input maxlength="255" name="email" onFocus="value=''" style="width: 10em;" type="text" value="Enter Email" /> <input maxlength="50" name="firstname" onFocus="value=''" style="width: 10em;" type="text" value="First Name" /> <input maxlength="50" name="lastname" onFocus="value=''" style="width: 10em;" type="text" value="Last Name" /> <br clear="all" /> <input name="submit" type="submit" value=" Subscribe! " /> </form>


If you have any insight, please let me know!

Thanks,

Jeremy
__________________
Version 4.0.17/4.0.18
Reply With Quote