asp page form processing

J

jz

Hello. Rgearding a past post, I guess i have this question that I woudl like
clarification on, please.

Frontpage extensions process forms, but once I create an ASP in conjunction
with the DBRW, now the frontpage extensions can no longer handle the
processing of a form?

I just want to be clear on that. Thank you, in advance.

-jz
 
T

Tom [Pepper] Willett

That is correct.
--
Tom [Pepper] Willett
Microsoft MVP - FrontPage
---------------------------
: Hello. Rgearding a past post, I guess i have this question that I woudl
like
: clarification on, please.
:
: Frontpage extensions process forms, but once I create an ASP in
conjunction
: with the DBRW, now the frontpage extensions can no longer handle the
: processing of a form?
:
: I just want to be clear on that. Thank you, in advance.
:
: -jz
 
J

jz

Thanks, Tom.

I studied up on ASP, as suggested from a previous post and I have a
question, please.

I'm just trying to send an asp form submission to the "Email Address" from
within my db, based upon an id that is passed from the previous asp.

I added code to the top of the page to handle the email submission, but when
I try to add in the db field code, it seems to break the ASP, because my
fpage editor shows the text after the email code I add as black and not
colored.

If you look down here at the "To:" line, that is where I am probably adding
incorrectly the code to gran the email address for the id of the person.

The tutorial I took says this would email to an email address, but because
the email address varies upon the id passed, I am trying to use code to grab
the email address, as opposed to hard cosing in a specific email address.
Please help, if possible: (thanks)

<%

if Request.Querystring("isSubmitted") = "yes" then



Dim fname, lname, vtype, email, co, length, numberof, date, city, state,
zip, comments

Dim objCDO



fname = Request.Querystring("FNAME")

lname = Request.Querystring("LNAME")

vtype = Request.Querystring("VISIT_TYPE")

email = Request.Querystring("EMAIL")

co = Request.Querystring("COMPANY")

length = Request.Querystring("SESSION_LENGTH")

numberof = Request.Querystring("HOW_MANY_MASSAGES")

date = Request.Querystring("VISIT_DATE_DESIRED")

city = Request.Querystring("CITY")

state = Request.Querystring("STATE")

zip = Request.Querystring("ZIP")

comments = Request.Querystring("COMMENTS")


Set objCDO = Server.CreateObject("CDONTS.NewMail")



objCDO.From = "(e-mail address removed)"

objCDO.To = "<%=FP_FieldLink(fp_rs,"Email Address")%>"

objCDO.Cc = ""

objCDO.Bcc = ""

objCDO.Subject = "Submitted form data from my page"

objCDO.Body = "Name: " & fname & " " & lname



objCDO.BodyFormat = 1

objCDO.MailFormat = 1



objCDO.Send



ConfirmMsg = "Thanks for submitting your name!"

end if

%>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top