HTML+ Form and Submit

Charles Henrich (henrich@crh.cl.msu.edu)
Fri, 29 Oct 1993 11:21:32 -0400 (EDT)


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