[7585] 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 (Philip Thrift)
Tue Mar 7 11:03:39 1995

Date: Tue, 7 Mar 1995 10:36:11 +0500
Errors-To: procmaster@www19.w3.org
Reply-To: thrift@osage.csc.ti.com
From: Philip Thrift <thrift@osage.csc.ti.com>
To: Multiple recipients of list <www-talk@www10.w3.org>

Current browsers (e.g. Netscape Navigator) should be able to
handle multiple submit buttons:

<HTML>
<HEAD>
<TITLE>Multiple submits</TITLE>
</HEAD>
<BODY>
<FORM METHOD="POST" ACTION="/cgi-bin/env">
Enter a query: <INPUT NAME="QUERY" TYPE="text" SIZE="48"><BR>
<INPUT NAME="SUBMIT" TYPE="submit" VALUE="Browse">
<INPUT NAME="SUBMIT" TYPE="submit" VALUE="Submit">
<INPUT TYPE="reset" VALUE="Reset">
</FORM>
</BODY>
</HTML>

will send SUBMIT=Browse or SUBMIT=Submit

-pt

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