W3C home > Mailing lists > Public > whatwg@whatwg.org > January 2007

[whatwg] WF2: Non-validating submit buttons

From: Alexey Feldgendler <alexey@feldgendler.ru>
Date: Wed, 24 Jan 2007 21:46:53 +0100
Message-ID: <op.tmoeofs21h6og4@localhost>
On Wed, 24 Jan 2007 20:20:50 +0100, Thomas Broyer <t.broyer at gmail.com>  
wrote:

>> It would be useful to be able to mark certain submit buttons as
>> non-validating.
>>
>> Use case: lots of the forms generated by one of my web-apps have a
>> "Cancel" button which simply causes the server to redirect the user back
>> to wherever they came from. When I use the WF2 extensions to mark
>> required fields, formats, etc the Cancel button won't submit until the
>> form is completed correctly. This doesn't make much sense from a UI
>> perspective.

> Cannot you accomplish that by using two forms?

Actually, the "Cancel" button could easily be just a link, not a submit  
control. However, this doesn't solve the use case of saving an unfinished  
form server-side.


-- 
Alexey Feldgendler <alexey at feldgendler.ru>
[ICQ: 115226275] http://feldgendler.livejournal.com
Received on Wednesday, 24 January 2007 12:46:53 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:31 UTC