Proposal: Default Button on Forms

Paul W. Barber (barbe016@maroon.tc.umn.edu)
Wed, 1 Nov 1995 20:36:55 -5


From: "Paul W. Barber" <barbe016@maroon.tc.umn.edu>
To: www-html@w3.org
Date: Wed, 1 Nov 1995 20:36:55 -5
Subject: Proposal:  Default Button on Forms
Message-Id: <30982eaf679b002@maroon.tc.umn.edu>

I would like to suggest that there be a way of indicating a default 
Button on a Fill-out Form.  The way I understand the current spec is 
as follows (from 
http://www.ncsa.uiuc.edu/SDG/Software/Mosaic/Docs/fill-out-forms/overview.html -
Things to Note)
========================================================
A "submit" element is necessary in all forms except those
     containing only a single INPUT element of type
     TEXT (in which case Return in the text entry
     area submits the form) or at least one INPUT element
     of type IMAGE (in which case a click in the image
     submits the form).
========================================================

When a form has multiple Text areas, it would be helpful to be able 
to indicate a default Button.  This could possible by implemented as 
such:

<INPUT TYPE="submit" DEFAULT="True" VALUE="Submit">

This would allow the user of the Fill-out Form to simply press the 
keyboard Enter to submit the form when it has multiple Text entries.  
It would also be useful with multiple Submit Buttons where the HTML 
author could decide which is the most common response and indicate it 
with the Default tag.
--------------------------------------------------------
Paul Barber
barbe016@maroon.tc.umn.edu
<A HREF="http://www.umn.edu/nlhome/m028/barbe016/">Paul's Home Page</A>
<A HREF="http://freenet.msp.mn.us/ip/nhoods/mpls/dmra/">Downtown Minneapolis Residents Association (DMRA)</A>