HTML+ Form and Submit

Charles Henrich <henrich@crh.cl.msu.edu>
From: Charles Henrich <henrich@crh.cl.msu.edu>
Message-id: <9310291521.AA02824@crh.cl.msu.edu>
Subject: HTML+ Form and Submit
To: www-talk@nxoc01.cern.ch
Date: Fri, 29 Oct 1993 11:21:32 -0400 (EDT)
X-Mailer: ELM [version 2.4 PL21]
Content-Type: text
Content-Length: 1006      
Okay Ive thought about it awhile, and also based on what others have suggested
I think we should add a SUBMIT option to the input tag, as well as a &submit=
to the form query.  For example, if you have 2 images on screen, and you want a
click on only one of them to cause a submit, or an entry in a text field to
cause a submit it would look like:

<input name="image1" type=image src="image1.gif">
<input name="image2" type=image src="image2.gif" SUBMIT>
<input name="text" SUBMIT>

So when the user clicks on image1, the x,y points are remembered by the browser
(as any other input field).  When the user clicks on the second image, the
query is sent to the server as

?image1.x=X1&image1.y=Y1&image2.x=X2&image2.y=Y2&text=&submit=image2

Or when the user clicks enters in the text field we get:

?image1.x=X1&image1.y=Y1&image2.x=X2&image2.y=Y2&text=Bob&submit=text

-Crh

    Charles Henrich     Michigan State University     henrich@crh.cl.msu.edu

                      http://rs560.msu.edu/~henrich