On Mon, Oct 27, 2008 at 6:59 PM, Kanugula <[EMAIL PROTECTED]>wrote:
>
> Thanks Alexander. dataChange event is the way to go!
>
> Your solution worked to me partially. I want something like changeValue on
> a
> TextField. The moment you change the value, it should invoke the event. I
> need to disable some buttons, if my validation fails. The dataChange event
> is firing, only after I move the focus outside of the editable cell.
>
> Any ideas how to do that?
Hi. I think maybe you're looking for the "input" event. This is fired upon
each character being typed. I use this to validate that legal characters
are being entered. If not legal, I either flag it with an error message, or
I replace the text with what was there previously to entirely prevent
illegal characters from being entered. It's not ideal. What would be
better would be a way to pre-insertion function to actually prevent a
character from being entered, but this is the best I've found available in
0.8. It actually works quite well.
Derrell
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel