homepage Welcome to WebmasterWorld Guest from 54.237.95.6
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor
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




msg:658091
 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




msg:658092
 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




msg:658093
 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




msg:658094
 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




msg:658095
 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.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved