Guest Cashster09 Posted June 9, 2009 Report Share Posted June 9, 2009 I am using Icontact - email marketing website that stores customer lists. I have a small form that someone fills out and after they submit, their email and names get stored on their website. That's easy...It already does that. I was wondering, can i then, in addition to that, have the form go to a certain webpage depending on which city they choose. We are giving away drycleaning coupons and my client has a store in Boca Raton and Coral Springs florida...The coupons for each city are different, so after submitting the form, it needs to be directed to the Boca or Coral Springs page, in addition to still posting their emails and names on the icontact site. I tried it but it wouldnt let me use POST. I had to use GET...In essence, with GET, the page redirected exactly where i needed it to go, but nothing ever posted on Icontacts website. Rich Quote Link to comment Share on other sites More sharing options...
BeeDev Posted June 10, 2009 Report Share Posted June 10, 2009 Could you elaborate on where this Form is? Is it on your website? And also how is the form sent to IContacts? Through traditional page redirect or through Javascript? After the form is filled and submitted, does the page "redirect" to their website to post the data or the data is sent by HTTP GET using Javascript silently in the back? Basically, if you're using a traditional form which sends the user to the page where the form is processed, then you cannot achieve what you're trying to achieve. If your form is sent silently in the back using Javascript (Think AJAX) without reloading the page, then you can set up a redirect after your form gets sent and a "200" (OK Success) reply is received. Quote Link to comment Share on other sites More sharing options...
Guest Cashster09 Posted June 10, 2009 Report Share Posted June 10, 2009 (edited) Here is my form http:// ww w.webdrycleaners.com/testerform2.html The form is on my website. Form info (name, email) is sent thru action=post to icontacts php page. But i wanted the page to redirect to one of two different pages depending on which city they choose.... thanks Rich P.S Yes it is possible with a combo on javascript and php...It is working now. Edited June 10, 2009 by Cashster09 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.