I'm trying to do an automatic signup for a newsletter hosted on a
separate site.
The original page is to sign up to receive a catalog by mail, with an
option to signup for an e-newsletter. All of the information is
validated when the user clicks submit.
At this point a second page is opened (thanking them for their request)
and the information previously entered is hidden in a form to be
submitted to the e-newsletter service provider. The signup, when
successful, returns a value of 1.
The form submits properly, but everything that I have tried thusfar
switches from the Thank You page to a page that says 1.
This *can't* be as hard as I am making it!
<FORM name="mail"
action="https://www.newsletterguys.com/view:RemoteSignup" method="post"
onsubmit="return false">
<input type="hidden" name="signup_post" value="9999">
<input type="hidden" name="account_id" value="1234">
<input type="hidden" name="username" value="em***@address.com">
<input type="hidden" name="password" value="apassword">
<input type="hidden" name="group[99999]">
<input type="hidden" name="member_email" value="jo*****@aserver.com">
<input type="hidden" name="first" value="Jack">
<input type="hidden" name="last" value="Frost">
</FORM>
<script>
mail.submit()
</script>
Any help truly appreciated...
Julie