Question : Can I have more than one action on a form?

On the purchase page, I have a checkout button where the user clicks on it and the total value is passed off to a 3rd party that does the final payment processing. (action="https://www._________scripts/payment/payment.asp"). When the 'Proceed to Checkout' is clicked, I would also like the results to be sent in an email to me, therefore, I would like to know if I can apply 2 actions on the same form? If so, how can I do that?

Answer : Can I have more than one action on a form?

If you have straight final step to pass the details to the 3rd party URL, no other way to call the email.

Before sending the 3rd party URL, you can pass the details to your email process page and then auto submit the details 3rd party URL.


Random Solutions  
 
programming4us programming4us