[whatwg] WF2: Non-validating submit buttons

Alexey Feldgendler alexey at feldgendler.ru
Wed Jan 24 12:46:53 PST 2007

On Wed, 24 Jan 2007 20:20:50 +0100, Thomas Broyer <t.broyer at gmail.com>  

>> 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

More information about the whatwg mailing list