B4J Question TextField Input only numbers

ElliotHC

Active Member
Licensed User
I have an application where I need to input a number in to a box.

It then performs a calculation. The problem is that you can also put letters in there which causes an issue.

Is there a checkbox somewhere so that only numbers can be entered? I can't seem to find one in the designer.

Or maybe some simple code that when that box is focused, only number presses are accepted?

Thanks
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…