How do I make a JavaScript to block the use of commas ,
within the field and at the same time also make an informed notification that only .
is allowed and also verify that what the user entered is correct.
I do not have much JavaScript knowledge and I did not find much about it, the most I found was onKeyCode
and had another that I forgot but did not get anything.
Example: Current weight: 70.80