I\'m trying to get my login form to only validate if only numbers were inputted. I can it to work if the input is only digits, but when i type any characters after a number,
here is how to validate the input to only accept numbers this will accept numbers like 123123123.41212313
and this will not accept entering the dot (.), so it will only accept integers
this way you will not permit the user to input anything but numbers