[whatwg] Web Forsm 2.0 possible omissions

Anne van Kesteren annevk at opera.com
Wed Mar 21 10:52:15 PDT 2007

On Wed, 21 Mar 2007 13:03:13 +0100, chris at bodar.com <chris at bodar.com>  
> 1) Input filtering (i.e. allow only numbers to be typed)
> suggested implementation (like pattern takes a regexp but behaves as if   
> inside: ^
> [ ]$
> <input type="text" filter="\d">

See the inputmode="" attribute in the current draft.

> 2) Auto tabbing
> for a 4 digit code:
> <input type="text" filter="\d" autotab="4"/>

This can be easily achieved with a simple script but I wonder if it's  

Anne van Kesteren

More information about the whatwg mailing list