View Full Version : How could I make a form with 2 different actions?
| Hello,
I'm using a form for a party subscription. I need to have 2 different actions for that form.
The 1st one is to a cgi on my website to store the subscription data in a flat text file for internal use.
The 2nd is cgi to the payment gateway.
Once the submit button is clicked, the data should be sent both to my cgi + the payment gateway.
Is it possible?
Could you please help me?
Thanks a lot |
You need javascript for this. Go on google and look up form action tutorials. Most likely what ide do is have it go to a perl script which processes your data then prints a forum and auto-submits it using javascript.
| Or change your code flow to a linear model and have the action point to your internal script, let it do it's thing then pass the info on to the payment gateway. |
vBulletin v3.5.3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.