Click to See Complete Forum and Search --> : Sending forms results to two recipients


cheryl
03-04-2003, 02:25 AM
I wish to make a form which sends its results to two different recipients through two different action addresses. Is this possible?

For example when a customer purchase something from a web site, the form details go to the bank for processing and to the merchant for filling the order and providing the delivery details.

bullboss
03-04-2003, 03:04 AM
I think you should use sessions

then yuo can use the information any time you want

cheryl
03-04-2003, 06:16 PM
Thank you to Bullboss. Just what are sessions? and how do I use them to get the information from the form to two separate recipients?

Thank you Dave. I tried all your links and could not find the information I needed. Do you have a more specific link to the page that has it on please? I am not sure what you mean by using mailto:

I am using two separate actions, one is the bank's action where the customer then fills in their credit card details when they get to the secure interface. The other is the ISP's cgi bin where the merchant is the recipient of the order. However I can only get one of them to work at any time. I would like both actions to complete when the visitor clicks on the submit button. I felt that there would be some way to write javascript to do it. I have tried, but I don't know enough about it.

cheryl
03-04-2003, 07:07 PM
The bank's action does most definitely return a success or fail page according to the acceptance or not of the credit card details.

I imagined that I could write something that worked with onSubmit or onClick that would also send the information to the merchant, but it has not proved successful yet. That is why I am looking for more experienced help.

cheryl
03-04-2003, 08:46 PM
Thanks Dave - what if the returned response page was target="_blank" with a close button and a message to go back to the form and maybe click another button

For example the first submit button saying "send order" - this going to the merchant,
and then the response page being a new page, when closed would allow the form (still completed) to be sent with the second button saying "proceed to payment" and that could be the bank's action. The bank could then return the success or fail transaction message in the same page thus refreshing the form to blank.

Do you think I could do it that way? However I would still need some help to change the form details to have the action message incorporated in the submit buttons instead of the form header. Would it need to be javascript?

cheryl
03-05-2003, 06:07 PM
Thanks Dave

I'll give it a try

Cheers Cheryl