[whatwg] WF2: Non-validating submit buttons
alexey at feldgendler.ru
Thu Mar 22 03:52:32 PDT 2007
On Wed, 21 Mar 2007 17:23:21 +0100, Christian Schmidt <whatwg.org at chsc.dk> wrote:
>> It would be useful to be able to mark certain submit buttons as
>> <input type="submit" validate="no" />
> How would this be achieved using script?
> One way is to use a button with the following onclick handler:
One of the most appealing advantages of WF2 over HTML4 forms is the ability to express validation requirements declaratively without resort to scripting. If bypassing validation requires scripting, it defeats the advantage. An author could as easily write the validation code in JS rather than expressing validation constraints using WF2 but writing a script to get around validation.
Alexey Feldgendler <alexey at feldgendler.ru>
[ICQ: 115226275] http://feldgendler.livejournal.com
More information about the whatwg