B4J Question TextField Input only numbers


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?