0
I have a little problem that is:
In certain form fields, the user cannot type letters, special characters (except .
, +
and -
). When the user presses the button .
once it does not allow typing the point again. If it type the point again the numbers that appear after the point must be selected.
It’s possible to make this friends?
You can get inspired by this question/answer here! Just take the event
keypress
and do the correct validation to prevent the user from entering the character. For something more cimplexo Voce can look for a plugin– Renato Gama