You could add an eventhandler for keyboard input and handle the data
yourself, e.g.
textfield1.addEventListener("keyup", function(e) {
// check here if input is a number and append the textfield value or not.
})
Torsten
Andreas Känner wrote:
>
> Hi,
>
> is it possible to create a TextField which accepts only numbers? How
> can I do that?
>
> Thank you,
>
> Andreas Känner
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>
--
View this message in context:
http://www.nabble.com/Question-about-TextField-validation-tf3998818.html#a11362161
Sent from the qooxdoo-devel mailing list archive at Nabble.com.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel