W3C home > Mailing lists > Public > whatwg@whatwg.org > July 2005

[whatwg] [wf2] disabled default submit button

From: Kornel Lesinski <kornel@ideadesigners.com>
Date: Wed, 27 Jul 2005 14:13:06 +0100
Message-ID: <op.sukpn4i7jj9hi8@idlaptop02.ideadesigners.local>
On Wed, 27 Jul 2005 13:32:10 +0100, Anne van Kesteren  
<fora at annevankesteren.nl> wrote:

> Quoting Kornel Lesinski <kornel at ideadesigners.com>:
>> This makes a lot of sense on forms like:
>> <select> <input submit value="confirm selection">
>> <input file> <input submit value="upload this file">
>> <input text>
>> <input submit vaule="submit and go elsewhere">
> This represents essentially two forms. It does not make sense it all if a
> developer writes such forms.

It does.

It's essential to preserve state of all form elements, even those outside  
currently submitted part of form (it's unacceptable to lose newly entered  
(unsubmitted) text when user uploads an image).

Roundtrip to server may be needed to add/remove elements within form, and  
decision may be based on data unavailable on client-side.

regards, Kornel Lesinski
Received on Wednesday, 27 July 2005 06:13:06 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:42 UTC