Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
Thread: 1 form, multiple actions?
11-13-2002, 12:40 PM #1
- Join Date
- Oct 2002
- Thanked 0 Times in 0 Posts
1 form, multiple actions?
I know similar questions to this have been posted already, but none answer the actual solution I require.
Basically I have a form, that when submitted gets sent to WorldPay (Credit Card Payment Processor), at present once worldpay receive the form data, they then send an email to me with the form data and about another 50 lines of data which is just irrelevant crap.
What I would like is for the form to also submit to a simple formmail script that will email me directly on the required fields as well as sending the data to WorldPay
At present the action code for the script is:
<form action="https://select.worldpay.com/wcc/purchase" method="POST" name="idform">
But I would like the same form to do this as well:
<form action="/cgi-sys/cgiemail/cgiemail_template.txt" method="POST">
I only want 1 SUBMIT button though!
Thanks in advance