Re: Distinguishing between submit buttons

W. Scott Meeks (meeks@osf.org)
Tue, 7 Mar 1995 09:24:55 +0500


>From www-talk@www10.w3.org Tue Mar 7 08:37:01 1995
>From: Rupesh Kapoor <rupesh@henna.iitd.ernet.in>
>
>Hi,
> Would someone know on how to distinguish between two submit buttons
>in the same form. In my application, one of them is for "Browse", while
>the other one is for "Submit". the CGI script has to take different
>actions for the two. Can't put browse in a separate form as both buttons
>need some common fields.

I would set up "Browse" and "Submit" as two radio items and give the submit
button a more generic label like "Do It" or "Ok".

W. Scott Meeks
OSF Research Institute
meeks@osf.org
(617) 621-7229