how to submit two form

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
User avatar
rajan
Forum Contributor
Posts: 110
Joined: Sun Aug 28, 2005 7:42 pm
Location: Lucknow, UP, India

how to submit two form

Post by rajan »

please tell me how to submit two forms one by one in one web page.

Example: one is paypal form whose action is paypal site and second one is my own form to save data on database
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Unfortunately, you can't really... as we said recently.. what you can do is have an intermediate page where your local saving takes place, which then does an automated (or user done) submission to PayPal. That's often the easiest way to do such a thing.

other ways including creating your own proxy to perform both behind the scenes, which overall, isn't fun.
User avatar
n00b Saibot
DevNet Resident
Posts: 1452
Joined: Fri Dec 24, 2004 2:59 am
Location: Lucknow, UP, India
Contact:

Re: how to submit two form

Post by n00b Saibot »

rajan wrote:please tell me how to submit two forms one by one in one web page.

Example: one is paypal form whose action is paypal site and second one is my own form to save data on database
look at cURL
Post Reply