Help!
I'll get right to the point. Is it possible to have a form submit button do more than one action? I want a form button that when clicked first will send the current window to the printer (which I know how to do) and then second will send data from a cookie file to a CGI script (which I also know how to do). The problem is making the button do both actions.
If you want to see the situation I'm using this for go to:
www.greenbayeasthighschool.com/store/commerce.cgi when you get there, put an item in the shopping cart and go to the checkout. Put any data in the billing and shipping screen and click verify. In the next screen you'll see my print button at the bottom of the screen. This button prints the summary screen from further up on the page. The problem is, it doesn't empty the shopping cart items since it doesn't call the script that empties the cart and responds with an order confirmation screen. Is it possible to make the button do both actions?
Before anyone asks why I'm not using paypal or something like that to process the orders, it's because the people I'm building this for don't want to accept anything but checks or money orders yet.
Any help would be, of course greatly appreciated!