Help with multiple form "actions"

liunx

Guest
I need to be able to execute two separate ASP files from a submitted FORM. The requirement is (in this order):<br />
<br />
1) Send email with FORM information. (using ASPMail).<br />
2) Update a counter stored within a text file.<br />
<br />
I have tried several different ways to accomplish this task with varying results...though no success in getting both to work:<br />
<br />
<form onSubmit="WriteToFile.asp" action="sendEmail.asp" method="post"><br />
or<br />
<form onSubmit="sendEmail.asp" action="WriteToFile.asp" method="post"><br />
or<br />
<form action="sendEmail.asp" method="post"> where you are Response.Redirect "writetofile.asp" from the end of sendemail.asp<br />
<br />
etc.<br />
<br />
The code for both pages seems clean as they will execute on their own.<br />
<br />
How could I accomplish this task?<br />
W.<!--content-->I was able to get both tasks performed within the same ASP file so multiple "calls" were not required.<br />
<br />
Did not work yesterday, but it is another day...<br />
W.<!--content-->
 
Back
Top