I need to validate that the number that is entered into the text input but we cannot use a pattern on the input as it is not available in the framework.
We must validate with JavaScript that the number entered is a whole number greater than zero so we cannot allow negatives or decimals.
Another edge case would be that we cannot allow scientific notation either.
Any suggestions?