Forum Moderators: coopster & phranque

Message Too Old, No Replies

Two Submit with One Submit Button

Submit a form to two(2) different destinations

         

jimijoe

7:29 pm on Jan 8, 2004 (gmt 0)

10+ Year Member



How can I submit a form to two(2) different destinations at the same time with one(1) time click on submit button?

JasonD

7:49 pm on Jan 8, 2004 (gmt 0)

10+ Year Member



I am pretty sure it is possible (though not easy) in JavaScript on the client side but as this is the Perl forum I'll work on using Perl as the language here.

I see the process as 3 stages

#1. The user fills in the form on your site then clicks submit

#2. Your Perl script that receives the form data takes the variables and passes it onto 2 other forms using..

#3 LWP or WWW::Mechanize

This is quite a simple task and the details at http:// cpan . org for each module should assist.

I hope this helps

Jason