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

Hosting from $3.99 per month!

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

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

Search Forums
 

Advanced search
Recent Posts

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

 

Editing the fpdbform.inc in frontpage2000

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

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

All Forums >> Web Development >> General Web Development >> Editing the fpdbform.inc in frontpage2000
Page: [1]
 
momof4boys

 

Posts: 21
From: None
Status: offline

 
Editing the fpdbform.inc in frontpage2000 - 3/19/2001 20:00:00   
I have edited this and it works but the form info comes into the email as a link with & and + symbols and it is all in one line.

What do I need to do to get this info into the email body in a way that is more presentable?

sFrom = Request.Form("EMailAddress")
sTo = "midwestdreams@yahoo.com"
sSubject = "My Ad"
sBody = Request.Form
----------------
Set myCDONTSMail= CreateObject("CDONTS.NewMail")
myCDONTSMail.BodyFormat= 1
MyCDONTSMail.MailFormat= 0
myCDONTSMail.Importance= 2
myCDONTSMail.Send sFrom, sTo, sSubject, sBody
Set myCdontsMail= Nothing
-------------------

This is how it shows up in Email
-------------------
VTI-GROUP=0&MemberID=1321564869&City=Wichita&State=Kansas&EmailAddress=mom_of_4boys@yahoo.com&Category=Antiques%2FCollectables&ItemName=Testing21&Description=this+is+just+a+test&Pr ice=00&B1=Submit
--------------------
I sure hope somebody can help me.

Thanks in advance!!!!!
Christina

Spooky

 

Posts: 26617
Joined: 11/11/1998
From: Middle Earth
Status: offline

 
RE: Editing the fpdbform.inc in frontpage2000 - 3/20/2001 20:02:00   
You would need to loop through the form collection like :

For each item in request.form
sBody = sBody & item & "=" & request.form(item)
Next


(in reply to momof4boys)
momof4boys

 

Posts: 21
From: None
Status: offline

 
RE: Editing the fpdbform.inc in frontpage2000 - 3/20/2001 20:32:00   
While testing your tip I used to different forms. Only one of the forms was sent e-mail as well as the database. The other just went to the database.

I read in this site that the editing in the .onc file effected all the forms.
My question is is there a way to have seperate responces for seperate forms?


(in reply to momof4boys)
Spooky

 

Posts: 26617
Joined: 11/11/1998
From: Middle Earth
Status: offline

 
RE: Editing the fpdbform.inc in frontpage2000 - 3/20/2001 14:11:00   
Not really without custom coding.

One way to try, would be to do the DRW diet so that the webbot has no influence over the code.
www.outfront.net/spooky/adv_drw_diet.htm

You could then use different include files (placed in a new directory) to perform a different function.

A bit of asp knowledge is essential!


(in reply to momof4boys)
momof4boys

 

Posts: 21
From: None
Status: offline

 
RE: Editing the fpdbform.inc in frontpage2000 - 3/20/2001 21:50:00   
That would be the problem.
I have no knowledge af asp.
I just search around and ask alot of questions. It's worked ok for me so far!

(in reply to momof4boys)
Page:   [1]
OutFront Discoveries

All Forums >> Web Development >> General Web Development >> Editing the fpdbform.inc in frontpage2000
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