B4J Question TextField Input only numbers

Discussion in 'B4J Questions' started by ElliotHC, Jul 25, 2019.

  1. ElliotHC

    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?

  2. stevel05

    stevel05 Expert Licensed User

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice