multiple submit buttons

Larry Aronson (laronson@acm.org)
Fri, 11 Nov 1994 14:43:54 -0500


>I would also like to be able to have multiple submit buttons. This is
>so that the user can select who to submit the form to!!
>
>Is there a way to do this?

It seems unlikely. The submit button does not send any value, it just kicks
off the action specified as the value of the ACTION attribute in the form
tag. Having multiple submit buttons would imply multiple ACTION attributes
with some way of mapping which button goes with which action.

Why not provide radio buttons or a select list for the reader to choose the
destination. That information would be read by your cgi script to post the
forms contents where you want it to go. Unfortunately, this would not work
if the ACTION attribute contained a "mailto" URL.

Larry

----------------------------------------------------------
| Larry Aronson | 35 W. 20 St. | 212-807-8561 |
| Systems Psychoanalyst | NYC 10011 | laronson@ACM.org |
----------------------------------------------------------
http://info.acm.org/~laronson/homepage.html