[7581] in www-talk@info.cern.ch

home help back first fref pref prev next nref lref last post

Re: Distinguishing between submit buttons

daemon@ATHENA.MIT.EDU (jern@spaceaix.jhuapl.edu)
Tue Mar 7 09:30:07 1995

Date: Tue, 7 Mar 1995 09:08:20 +0500
Errors-To: procmaster@www19.w3.org
Reply-To: jern@spaceaix.jhuapl.edu
From: jern@spaceaix.jhuapl.edu
To: Multiple recipients of list <www-talk@www10.w3.org>

> 
> 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.
> 
> Thanxall
> Rupesh

A good example of how to do this can be seen at:
http://bigmouth.pathfinder.com/time/daily/time/1995/latest.html

i.e., use multiple <form> </form> tags.
bob

home help back first fref pref prev next nref lref last post