navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
FrontPage Alternative
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Free FrontPage Templates

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

 

Form Results Missing from Email Generated by Scrip

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> ASP and Database >> Form Results Missing from Email Generated by Scrip
Page: [1]
 
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

(in reply to westsaddle)
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.


(in reply to westsaddle)
Page:   [1]

All Forums >> Web Development >> ASP and Database >> Form Results Missing from Email Generated by Scrip
Page: [1]
Jump to: 1





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