Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 12th, 2006, 05:38 PM
Registered User
 
Join Date: Mar 2006
Location: Glasgow, South Lanarkshire, United Kingdom.
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default HTML Form to two processes

I have a contact form with the usual
<form name="mailform" method="Post" action="confirmation.asp">
type action.
However I would like to send the same data to another asp page simultainiously using the same submit button, ie I would like to
<form name="mailform" method="Post" action="confirmation.asp & JMail.asp"> ish.
Any suggestions how this can be achieved.
The first process the confirmation.asp processes the form fields and creates an email the second the JMail.asp is a simple autoresponder sending an email back to the user confirming info sent.

IanC
 
Old April 12th, 2006, 05:50 PM
Friend of Wrox
Points: 2,101, Level: 18
Points: 2,101, Level: 18 Points: 2,101, Level: 18 Points: 2,101, Level: 18
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jul 2003
Location: , , .
Posts: 599
Thanks: 6
Thanked 3 Times in 3 Posts
Default

I think you could create a separate form with and post that form with a javascript command with an onclick for your submit button.

Solution number 2 would be to do a response.redirect to the second page and/or post a form on that page to the second page.

Also, wondering why you just can't put the same code on one page or run the mail function and then redirect to a confirmation page.

Anyway, if you need help with the javascript, I can do if that's the way you decide to go.

Good luck!

Richard





Similar Threads
Thread Thread Starter Forum Replies Last Post
remote processes gobotsoup ASP.NET 2.0 Basics 1 May 6th, 2007 01:50 PM
Converting an HTML Form to ASP.Net Form k_alidxb75 ASP.NET 1.x and 2.0 Application Design 0 November 30th, 2006 03:26 AM
Manipulating Processes ? kush28 C# 1 October 26th, 2005 04:49 AM
processes in php Moharo Pro PHP 1 November 10th, 2003 08:47 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.