Leonardo Quijano Vincenzi wrote:
Today I implemented some basic input restrictions for the number formatter. Now the textfield only accept numbers, sign characters, thousand separators and decimals. Currently is just basic infrastructure. It's possible to go around the restrictions by pasting external text, for example, or to create an invalid number by deleting the first digit in "0.33". Those restrictions can be implemented later but for now I'd like to focus on creating more formatters.

But right now the implementation works great for the common cases in Firefox and Explorer ;).
Feedback is appreciated!

Ok I finally added date and mask-based controls. You may note that my input restrictions are "soft", in the sense that they're easily circunvented by pasting external text, etc. I don't want to create very strict text input restrictions (I think input masks are more of a help rather than validation!), but in any case any feedback is appreciated.

--
Ing. Leonardo Quijano Vincenzi
DTQ Software




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Tacos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tacos-devel

Reply via email to