473,396 Members | 1,714 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 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 5529
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 to send email letters from my website. Please...
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 shortfall of the language ? Consider the...
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 server and wait for it's xml response. Basically a...
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 provide some insight...? Our ASP.Net application...
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 before (with AOLServer and Tcl) but just can't seem...
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 is my http receive code and pass the info back: ...
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 thoughts would be appreciated. namespace...
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" method="post"...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.