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
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
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