472,344 Members | 1,387 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,344 software developers and data experts.

How do I pass form info to autoresponder like GetResponse?

I want to add a newsletter signup form to my ASP website and then have the newsletter automatically emailed to the client.

I want to use a hosted email/autorresponder company because of the spam issues are all handled by them.

I contacted hosted email/autoresponder company GetResponse ($17/month) and generated their HTML Form to capture the first_name and email_address to add to my website. I installed the HTML, but the info was not passed to GetResponse.

My ASP webmaster said the HTML won't work and I need to add Response.Redirect(URL) to my aspx.cs page.

Unfortunately, GetResponse does not know how to do this.

I also checked with ConstantContact and they also don't know from ASP.

Anybody have any thoughts on how to proceed?

Cheers,
Paul Nisenbaum in Los Angeles
May 17 '07 #1
5 5451
jhardman
3,406 Expert 2GB
Paul,

This sounds confusing. Why do you need response.redirect? the form supplied by GetResponse should have everything you need. Could you post code or a link?

Jared
May 17 '07 #2
Jared,
Thanks for taking a look at this --- it's driving me nuts.

I copied the GetResponse HTML (to be used for a newsletter signup) into my aspx page. The form and confirmation pop-up worked fine, but the first_name and email_address did not get passed to Get Response.

I contacted GetResponse tech support and this is what they wrote:

Paul,Your website is created is asp and the form is directing to
your site, not ours: <form id="aspnetForm" action="newslettersign.aspx"
method="post" name="aspnetForm">. That is what causes
that the sign ups are not being added to your account.
I contacted my webmaster and this is what he wrote:
Basically, if you want to play, at the end of the code behind the form (cs file) you want under the protected void btnSubmit_Click (...) {}
code there will be a Response.Redirect (if there isn't you want to add it)

The Response.Redirect(URL) allows you to post to another site.
Here is the HTML code from GetResponse that creates the form and confirmation popup.
Expand|Select|Wrap|Line Numbers
  1. <!-- GetResponse subscription form | start -->
  2. <SCRIPT LANGUAGE="JavaScript">
  3.   function popupXY(fileName, x, y) {
  4.     window.open(fileName, 'popup', 'toolbar=no, scrollbars=yes, directories=no, status=no, menubar=no, resizable=no, width='+x+', height='+y);
  5.   }
  6. </SCRIPT>
  7.  
  8. <form action="http://www.getresponse.com/cgi-bin/add.cgi" method="post" TARGET="popup" id="GRSubscribeForm" accept-charset="UTF-8">
  9. <fieldset>
  10. <table><tr>
  11. <td><label for="GRCategory2">Your first name</label>:</td>
  12. <td><input type="text" name="category2" size="14" id="GRCategory2" /></td>
  13. </tr><tr>
  14. <td><label for="GRCategory3">Your primary e-mail</label>:</td>
  15. <td><input type="text" name="category3" size="14" id="GRCategory3" /></td>
  16. </tr></table>
  17. <input type="submit" onclick="popupXY('wait.html', 350, 500);" value="Subscribe Now!" />
  18. <p>
  19. Service provided by <a href="http://www.GetResponse.com/index/pnbiz/" title="GetResponse Autoresponders">GetResponse Autoresponders</a>
  20. </p>
  21. </fieldset>
  22. <input type="hidden" name="category1" value="epg_newsletters"/>
  23. <input type="hidden" name="confirmation" value="http://www.epaymentguru.com/newsletterthankyou.aspx" />
  24. <input type="hidden" name="ref" value="0001" />
  25. </form>
  26.  
  27. <style>
  28.  #GRSubscribeForm fieldset {
  29.   width: 260px;
  30.   border: 0;
  31.  }
  32.  
  33.  /* comment about GetResponse */
  34.  #GRSubscribeForm p {
  35.   font-size: x-small;
  36.  }
  37.  
  38.  /* table used to position form elements */
  39.  #GRSubscribeForm table {
  40.   border: 0;
  41.  }
  42. </style>
  43. <!-- GetResponse subscription form | end --> 
May 17 '07 #3
jhardman
3,406 Expert 2GB
Paul,

Open the form in a browser, check the source code, what does the form tag say as your browser sees it? (I just want to make sure your asp page isn't altering it in some way.)

Jared
May 18 '07 #4
Jared,

Since I don't know too much about this, I am guessing this is the form tag when I check the source from IE.

Expand|Select|Wrap|Line Numbers
  1.    <form name="aspnetForm" method="post" action="newslettersigngr.aspx" id="aspnetForm">
If you want, you can take a look. The page is on my site, but not from a navigation button.

ePaymentGuru Newsletter Sign Up - special page with GetResponse Form - http://www.epaymentguru.com/newslettersigngr.aspx

Cheers,
Paul
BTW, I am in Los Angeles. It's 12:10 am PST.

Paul,

Open the form in a browser, check the source code, what does the form tag say as your browser sees it? (I just want to make sure your asp page isn't altering it in some way.)

Jared
May 18 '07 #5
jhardman
3,406 Expert 2GB
Jared,

Since I don't know too much about this, I am guessing this is the form tag when I check the source from IE.

Expand|Select|Wrap|Line Numbers
  1.    <form name="aspnetForm" method="post" action="newslettersigngr.aspx" id="aspnetForm">
If you want, you can take a look. The page is on my site, but not from a navigation button.

ePaymentGuru Newsletter Sign Up - special page with GetResponse Form - http://www.epaymentguru.com/newslettersigngr.aspx

Cheers,
Paul
BTW, I am in Los Angeles. It's 12:10 am PST.
OK, the action needs to be changed to:

http://www.getresponse.com/cgi-bin/add.cgi

This might take the user off site without sending them back (I don't know how they work it at getResponse) so you might want the form to open in a new window. But there is no reason that I see why you wouldn't want to send the form data to them in the first place. Were you trying to collect that info separately?

Jared

I'm in Utah, so not too far off.
May 18 '07 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

11
by: Vanessa | last post by:
Hi, I would like to know whether there's any way for me to pass an object by reference to another form? Regards Vanessa
3
by: Andy | last post by:
I need your help to check if my autoresponder will work in the following script. I am testing my PHP scripts on free server, which dosen't allow me...
5
by: Fresh Air Rider | last post by:
Hello Could anyone please explain how I can pass more than one arguement/parameter value to a function using <asp:linkbutton> or is this a major...
1
by: LD | last post by:
Hi, I'm pulling my hair out!! My problem is, I need to automatically upload a zip file along with 3 other pieces of text data to a web...
9
by: Denise | last post by:
I have posted a similar message in 2 other forums but got no response. I have spent more hours than I can count researching this. Can anyone...
7
by: Mark Waser | last post by:
Hi all, I'm trying to post multipart/form-data to a web page but seem to have run into a wall. I'm familiar with RFC 1867 and have done this...
3
Kevinyy
by: Kevinyy | last post by:
I'm working on a proxy and i was wondering how i can collect the cookies and pass them back to the client? so they can log into sites and etc? here...
5
by: mcfly1204 | last post by:
I am attempting to use WebRequest to access a page that requires a login/password to access. My last WebRequest continues to timeout. Any help or...
3
by: swethak | last post by:
Hi, I am getting the problem with form tag. i,e in in form action i am placing the some autoresponder page like <form name="form1"...
0
by: concettolabs | last post by:
In today's business world, businesses are increasingly turning to PowerApps to develop custom business applications. PowerApps is a powerful tool...
0
better678
by: better678 | last post by:
Question: Discuss your understanding of the Java platform. Is the statement "Java is interpreted" correct? Answer: Java is an object-oriented...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge...
0
jalbright99669
by: jalbright99669 | last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made...
0
by: Matthew3360 | last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function. Here is my code. ...
2
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it...
0
by: Arjunsri | last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and...
0
by: Matthew3360 | last post by:
Hi, I have been trying to connect to a local host using php curl. But I am finding it hard to do this. I am doing the curl get request from my web...
0
Oralloy
by: Oralloy | last post by:
Hello Folks, I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA. My problem (spelled failure) is with the...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.