PDA

View Full Version : [CLOSED] mask for decimal numbers



JCarlosF
Apr 23, 2013, 5:18 PM
NEED A MASK FOR DECIMAL numbers,
HOW CAN I MAKE TO ESTABLISH THE FOLLOWING FORMAT:

1.234 ----- this is what I need

an integer, point, and three decimal

now this is what I have:



MaskRe="/[0-9\.]/"


but,it repeat point, That does not help

(1.23.4) ------- this is incorrect

Thanks!

Daniil
Apr 24, 2013, 9:11 AM
Hi @jCarlosF,

The MaskRe property is used to filter keystrokes. It doesn't force its order.

You might need to use an InputMask plugin.
http://examples2.ext.net/#/Form/TextField/InputMask/

JCarlosF
Apr 24, 2013, 5:50 PM
Hi @jCarlosF,

The MaskRe property is used to filter keystrokes. It doesn't force its order.

You might need to use an InputMask plugin.
http://examples2.ext.net/#/Form/TextField/InputMask/

perfect! thanks!