Forum Moderators: open

Message Too Old, No Replies

Two Actions for my Form?

How to make my form do 2 different things

         

crunchy

9:36 pm on Mar 20, 2006 (gmt 0)



Hi,

I'm working on a speed dating site. Currently, the user fills out an application, then clicks the send button, and the data is emailed to my client via a perl script. Now they want to add online payments via PayPal. So my question is, how can I have the one button simultaneously send the email, and also go to PayPal? I know how to do either one, but not both.

Thanks!
-C

tedster

11:17 pm on Mar 20, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



An html form can only have one action -- but the perl script on the server can then take the submitted data and do many things with it.

So the answer is to modify the script on the server. The folks over in the Perl Server Side CGI Scripting Forum [webmasterworld.com] would be glad to help if you bang into troubles making the changes.