[whatwg] Web Forms 2.0 proposal
ian at hixie.ch
Fri Feb 10 12:45:41 PST 2006
On Sat, 11 Feb 2006, Sean Hogan wrote:
> I would request a input filter as a regex range eg a-zA-Z0-9 i.e. if
> the keyCode is NOT within the range then preventDefault(). I imagine
> that number, date, datetime, etc will be special implementations that
> filter keyboard input. Why not extend the facility to text, etc?
This is already possible using the pattern="" attribute:
Ian Hickson U+1047E )\._.,--....,'``. fL
http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,.
Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
More information about the whatwg