Animal
11 May 2007, 3:09 AM
Is it the intention that we extend TextField for all purposes? Or should we extend Field?
In what general aspects do they differ? I've read the code, but I'm not sure how to go about my own Fields. I currently have my Ajax-validating key field extending Field and it works.
But Field doesn't implement maskRe checking, so I might have to extend TextField
But it looks like TextField does quite a bit more processing that might be too much for most general inputs? Does TextField validate on keyup, because that wouldn't be good for Ajax validation?
In what general aspects do they differ? I've read the code, but I'm not sure how to go about my own Fields. I currently have my Ajax-validating key field extending Field and it works.
But Field doesn't implement maskRe checking, so I might have to extend TextField
But it looks like TextField does quite a bit more processing that might be too much for most general inputs? Does TextField validate on keyup, because that wouldn't be good for Ajax validation?