That's OK, but I forget to tell you about an important detail,
the same restrictions should be applied to pasted values, since
%99 of the times I will be pasting the values, not typing them manually.
So, let's say I paste values which include at least one empty
space or any other "non digit" character in any position:
"12 34567891 0" (13 Characters)
"12-34567891-0" (13 Characters)
"12.345.678910" (13 Characters)
"12/34567/8910" (13 Characters)
"12-34.567.891-0" (15 Characters)
"12 34.567.891 0" (15 Characters)
They should get converted to:
And in case it is possible, trigger a kind of tooltip alert
when finding a non compliant value, after pasting it as expected.