I need to limit input in form field to be greater than 0 and less than one. As such, it can be either the integer 1 or a floating point. The business requirement calls for a format of 0.0
Any help would be appreciated.
I tried some regular expressions with an onkeypress event and I also tried just directly validating based on charcode and I thought I had it figured out and then I realized that I was able to type more than one period '.' and now I find myself here (many hours later).
There has got to me a easier way to do this. Some sort of mask function or such?