Click to See Complete Forum and Search --> : Multiple forms submitted from one button??


PommyTom
11-11-2005, 02:06 AM
Hi,

Just wondering if anyone has ANY idea if this is even possible... And how it could be acheived.... Not sure if this should be attempted with ASP or if its possible with plain and simple HTML...


I need to post to two sites from one submission button. I can get all the objects to be posted into one form but how on earth are you meant to post to two seperate locations?! Is this even possible?

I need to post to one external database some information but at the same time we're trying to use an external auto responder system so i need to post their email address etc to another?


Any help would be GREATLY appreciated!!!! If you require any further information please don't hesitate to ask!


Many thanks,
Tom

welsh
11-11-2005, 09:07 AM
Hey,

Just use:

<form action="MAILTO:someone@somewhere.com, someone2@somewhere.com" method="post" enctype="text/plain">

It still shows where both emails are going but hope thats what you are looking for.

ray326
11-11-2005, 02:09 PM
The form can have only one action so that handler will have to update the database and then do a request to the autoresponder. The latter is a hassle. It will be much easier to just do the email yourself in the single form handler after it updates the database.

PommyTom
11-13-2005, 04:52 PM
Thanks for the response guys... Worked it out in the shower... amazing how much you work out in the shower!

Just going to have it sent to the first page, store the contents in the session object (asp page), then from the first page it allows a redirect, and on that page resubmit to the second page the contents of the session variable.


Thanks for the help anyway,


Tom