navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
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

Search Forums
 

Advanced search
Recent Posts

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

Microsoft MVP

 

Working With Confirmation Pages

 
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 >> Working With Confirmation Pages
Page: [1]
 
ScribeVision

 

Posts: 274
From: None
Status: offline

 
Working With Confirmation Pages - 3/7/2002 23:48:34   
Let's see if I can explain this problem ...

For my National Guard Unit I've created forms for units to fill out reports.

Most reports can simply be accessed using a DRW after the unit is selected from a drop down menu.

However, some reports need to sent out by email as soon as the form is completed.

I have a javascript that adds a button to a page. When clicked, the mail program is opened with the link to the page already included in the body. The idea is that the recipient of the email simply clicks the link and the report for the unit sending the report is displayed.

HOWEVER ...

Since the Javascript only sends the url to the page with the DRW, clicking on the link only gets a "no record found" since the query is not part of the link.

So I tried adding the javascript to the confirmation page for the form, but had the same problem.

I then thought I would add a link from the confirmation page that said "click here to send this report" and have the link pass the unit to a DRW so the url would contain the query for the javascript to pass in the email.

HOWEVER ... I can't seem to pass the parameter from the confirmation page.

There's got to be a better way to do this.

Any suggestions?

 
rdouglass

 

Posts: 9270
From: Biddeford, ME USA
Status: offline

 
RE: Working With Confirmation Pages - 3/8/2002 12:35:52   
What about having the server send the email instead of the client sending the email? If you have any kind of mail engine on your server, you could make the button post to an ASP page that sends the recipient a simple email with a link (with parameters). The recipient clicks the link and the server shows the completed form. Is that an option or does email have to be read off-line (or something like that)???

Does that help??

 

(in reply to ScribeVision)
ScribeVision

 

Posts: 274
From: None
Status: offline

 
RE: Working With Confirmation Pages - 3/8/2002 13:39:04   
Having the server send the email is an option. Having never done that, perhaps you can point me towards some sample code to set that up.

Being able to use the javascript would be the easiest to implement in the limited amount of time I have to work with.

I was able to make it work by adding the script to the DRW results page where the reports are viewed. The link with the query is included in the email.

However I then discovered that the link is too long so the email only includes part of the url as a true link. If the recipient clicks on the link it will not work. I would have to resolve that by restructuring the web to shorten the path/url to fit the limitations.



 

(in reply to ScribeVision)
rdouglass

 

Posts: 9270
From: Biddeford, ME USA
Status: offline

 
RE: Working With Confirmation Pages - 3/8/2002 14:11:24   
The method you would use depends on what (if any) email component is installed on the server. Check with your host.........

 

(in reply to ScribeVision)
Page:   [1]

All Forums >> Web Development >> ASP and Database >> Working With Confirmation Pages
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