Numeric fields

Avatar

Avatar

scotth1123

Avatar

scotth1123

scotth1123

14-01-2016

When I type 0398762 in a numeric field, it drops the "0".  I need to keep the "0".  How do I do that?

Accepted Solutions (0)

Answers (1)

Answers (1)

Avatar

Avatar

Magus069

MVP

Avatar

Magus069

MVP

Magus069
MVP

14-01-2016

To keep a 0 at first position you need to use a textfield, not a numeric field... unless there is a way to bypass the numeric field formatting

within a textfield to make sure you only have numbers, you can use the method isNaN()... is Not a Number

in the exit event of the textfield you would have something like this :

Hope this help!