[whatwg] default action/button for forms

On Fri, 2005-02-11 at 11:52 -0500, Matthew Raymond wrote:
> 
>     I'd prefer something like this:
> 
> | <form action="http://somesite.com/prog/adduser" method="post">
> |   <input type="text" name="who">
> |   <input type="submit" name="action" value="Remove">
> |   <input default type="submit" name="action" value="Add">
> | </form>

Sounds reasonable, it does allow some ambiguity however (what happens if
there a multiple defaults in one form?) and the default button to my
mind seems more like a property of the form then a control.

But hey, I'd be happy with either.

/Mike

-- 
Michael Gratton, Software Architect.
Quuxo Software <http://web.quuxo.com/>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20050213/2764b123/attachment.pgp>

Received on Saturday, 12 February 2005 17:55:15 UTC