[whatwg] Form validation against invisible controls

Ian Hickson ian at hixie.ch
Mon Jun 14 03:40:46 PDT 2010

On Mon, 14 Jun 2010, Ola P. Kleiven wrote:
> The following sites have workarounds in Opera's browser.js to allow form
> submit:
> airgreenland.com (using required on hidden elements)
> barnesandnoble.com (using required on visible elements that are supposed to be
> empty on submit...)
> bookryanair.com (using required=false - this usage has also been found in JS
> libraries)
> ingdirect.com.au (using required on a visible field, but then emptying the
> field with JS before submit)
> usairways.com (using required on hidden elements)
> Most of these have been using it for several years and have not responded to
> change requests from our side.
> We have also seen a couple of instances of wrong input types (number 
> where text expected etc.), but the usage of "required" is the biggest 
> problem in my experience.

Incorrect use of "required" in HTML4-era documents also seems to be the 
common problem Chrome ran into -- at the risk of starting a bikeshed 
discussion, does anyone have any good suggestions for alternative names?

Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

More information about the whatwg mailing list