W3C home > Mailing lists > Public > www-html@w3.org > February 2004

Multiple actions for forms

From: Jason Henning <bb@thehennings.com>
Date: Wed, 4 Feb 2004 03:17:09 -0500
Message-ID: <000501c3eaf7$492689f0$0315a8c0@hennings>
To: <www-html@w3.org>

It would be nice if forms could have more than one action. For instance,
I'm doing site with a shopping cart. The shopper can pre pay their order
through paypal or they can pay when they pick up the order. I collect
identical information regardless. Here's how I would like my form to

   Your Name <input type='text' name='name'>
   Your email address <input type='text' name='eaddy'>
   Your phone number <input type='text' name='phone'>

   <input type='submit' value='Pay at pick up' action='send_order.php'
   <input type='submit' value='Send order to PayPal'
action='http://paypal.com' method='post'>
   <input type='reset'>


Just a thought...

Jason Henning
Received on Wednesday, 4 February 2004 03:53:23 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:38:40 UTC