[7583] in www-talk@info.cern.ch
Re: Distinguishing between submit buttons
daemon@ATHENA.MIT.EDU (W. Scott Meeks)
Tue Mar 7 10:02:12 1995
Date: Tue, 7 Mar 1995 09:33:26 +0500
Errors-To: procmaster@www19.w3.org
Reply-To: meeks@osf.org
From: "W. Scott Meeks" <meeks@osf.org>
To: Multiple recipients of list <www-talk@www10.w3.org>
>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