View Full Version : Shouldn't numberfield allow just one decimal separator?

26 Aug 2013, 1:07 PM
A quick test with a numberfield show's that this is allowing the insertion of more than one decimal separator (e.g. 15.00.00).

This is a bug or I missed some option?

Gary Schlosberg
28 Aug 2013, 3:20 PM
Seems like a bug. Can you post the code you used to do this so we can check and possibly fix? Thanks.

28 Aug 2013, 4:23 PM
The regex doesn't attempt to match a number, only the allowed characters.


Doing the former is a lot more complicated.