Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
325
Ultra numeric editor
posted

I want to make use of the ultranumeric editor to force the user to only be able to enter numerical values. The values the user may enter however can have a variation in decimals for example:

3.26589
5.265
5.6898

What formatting options or settings are available to accomodate this?

Thanks

Parents
  • 2077
    Verified Answer
    Offline posted

    I am using "n - Digit placeholder. A group of n's can be used to create a numeric section where numbers are entered from right to left. Character must be numeric (0-9) but entry is not required."

    Setting a mask input like "nnnn.nnnnnn" makes the control behave like this: when it is entered the cursor is at the left of the decimal point. The digits are entered from right to left. When the limit of digits is hit (the number of the n at the left of the decimal point) or the user pressed the decimal key the cursor moves to the right of the decimal point. Here the digits are entered from left to right.

    This I have found to be the natural way of entering real numbers, and the users have no complains.

     HTH,

    Emanuel

Reply Children