Jump to content
Killersites Forums

Is it possible?


Guest Cashster09

Recommended Posts

Guest Cashster09

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

Link to post
Share on other sites

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.

Link to post
Share on other sites
Guest Cashster09

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 by Cashster09
Link to post
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...