|
| |
|
|
westsaddle
Posts: 2 Joined: 2/18/2002 From: Setauket NY USA Status: offline
|
Form Results Missing from Email Generated by Scrip - 2/18/2002 11:16:08
This script updates my database with information collected by a form, and sends email to me. The problem is that the email is blank except for the *******. Can you help me modify this code so the email contains the form results? Thanks in advance. ' For each Item in Request.Form ' Loop through each Form item ' strMsgInfo = strMsgInfo & Item & ": " & Request.Form(Item) & vbCrLf ' next ' strMsgHeader = "Form information follows" & vbCrLf & "*************" ' strMsgFooter = vbCrLf & "*************" ' Mailer.BodyText = strMsgHeader & strMsgInfo & strMsgFooter These form fields are in the part of the script that updates the database. (The database is being upadated properly when the form is submitted). The actual page is www.voltaix.com/request3.asp. I also am a little confused about why or how the form fields are named "arFormFields". 'arFormFields0(16) = "r_company" 'arFormDBFields0(16) = "r_company" 'arFormValues0(16) = Request("r_company") Complete script is on this url and segment that appears to be in question is flagged by red text comment. http://www.fp2k2.com/identity/script.htm
|
|
|
|
Spooky
Posts: 26606 Joined: 11/11/1998 From: Middle Earth Status: offline
|
RE: Form Results Missing from Email Generated by Scrip - 2/19/2002 2:14:01
If you halt the script here : next and write the value, response.write strMsgInfo response.end Does it give what you expect? You are using form and not query string? §þððk¥ Database / DRW Q & A VP-ASP Shopping cart Spooky Login
|
|
|
|
westsaddle
Posts: 2 Joined: 2/18/2002 From: Setauket NY USA Status: offline
|
RE: Form Results Missing from Email Generated by Scrip - 2/19/2002 10:29:35
I am a little new to all of this so bear with me: I inserted the lines you recommended right before the next statement but the result was that the form would not display. I am confused by your last comment, I am "using form and not query string". That's true.
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|