homepage Welcome to WebmasterWorld Guest from 54.196.63.93
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Hardware and OS Related Technologies / Website Technology Issues
Forum Library, Charter, Moderators: phranque

Website Technology Issues Forum

    
Sending forms data to another page AND as email
help please
Sinner_G

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 1133 posted 2:47 pm on Aug 19, 2002 (gmt 0)

Need help on this one. I have this page which contains a form. The content of this form has to be sent to an asp page AND also as an email.

The function for the asp page is this:

fCmp.action= "http://www.site.com/default.asp";
fCmp.method= "POST";
fCmp.submit();

Problem is, after this, the fields are emptied, so they cannot be sent as email.

Anyone knows a way out of this? Thanks in advance.

 

pcguru333

10+ Year Member



 
Msg#: 1133 posted 3:11 pm on Aug 19, 2002 (gmt 0)

What is the code you use on your asp page to post the content to the browser?

I have an asp page that sends the content via e-mail and then posts it to the page.

Would something like this work for you?

txbakers

WebmasterWorld Senior Member txbakers us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 1133 posted 3:20 pm on Aug 19, 2002 (gmt 0)

Sure, just reverse your steps. Send the POSTED information to the email first, then post to the database.

Sinner_G

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 1133 posted 3:22 pm on Aug 19, 2002 (gmt 0)

What is the code you use on your asp page to post the content to the browser?

Not sure what you mean. It is just a plain form with a submit button.

Would something like this work for you?

Sounds good!

txbakers, I tried that, but the fields were emptied after sending the email.

uk_dokey

10+ Year Member



 
Msg#: 1133 posted 3:01 am on Aug 26, 2002 (gmt 0)

Hi Sinner,

What does the asp page do that the form points to? Does it just display hwat they typed in on the form? On the info you give its difficult to help you. I would suugest something like this?

Use Jmail (a free email script just do a search) in the Jmail scipt you could use session variables if the data inputted isn't too long. These variables would grab the info from the previous form and store it. You could then call the variables from the asp scipt. You need to go to w3schools and check out the asp section then session variables to see what I mean.

Hope this helps if you give more info I will see what I can do.

Peace

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Hardware and OS Related Technologies / Website Technology Issues
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved