Re: [whatwg] Web Forms 2.0 proposal

2006-08-15 Thread porneL
On Tue, 15 Aug 2006 00:57:15 +0100, Ian Hickson [EMAIL PROTECTED] wrote: If I'm reading the spec correctly then pattern is used to prevent/allow form submission, and to highlight an invalid entry. What I am suggesting is a filter that can be matched against for each keypress event. If

Re: [whatwg] Web Forms 2.0 proposal

2006-08-15 Thread Ian Hickson
On Tue, 15 Aug 2006, porneL wrote: On Tue, 15 Aug 2006 00:57:15 +0100, Ian Hickson [EMAIL PROTECTED] wrote: If I'm reading the spec correctly then pattern is used to prevent/allow form submission, and to highlight an invalid entry. What I am suggesting is a filter that can be

Re: [whatwg] Web Forms 2.0 proposal

2006-02-10 Thread Sean Hogan
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? cheers, SDH