Hi Cagatay!
> By the way, these validators run only at onsubmit event of the form.
> I've also implemented simple "onkeypress validation" that allows only
> integers to be entered when there is an integeronly converter by
> disabling letters, or max-min length validation when there is a length
> validator. I think these could be very useful too, what are your
> thoughts on this? If we all agree, I'll include it too.

Yes, please. We had such a think in our web-app before and I would love
to see it again. Its very useful for the user.
And, maybe you can make a onchange validator too - the same as onsubmit,
but for this single field only.

So, we end up in:
*) onkeypress check which avoids to enter invalid chars
*) onchange check to show an error as soon as the user leaves the field
*) onsubmit check for a last overall check (maybe with stuff like
from/to checks, I know, not yet)

Then we should think about porting this to Trinidad as ours is more
powerful ..... ;-) *just kidding*

Cagatay, if there is something I can do to help you out here, just drop
me a note, I have not that much spare time, but I really would like to
have this again.

Ciao,
Mario

Reply via email to