Hi guys, some advice on this would be great.

What i need is a textbox for the input of a percentage, accurate to 2 decimal places. So, i need some sort of function that can be used for both keypress and validation events, if possible.

Ie, valid entries would be 34.55, 100, 9, 0.99.
Invalid would be .9765, 2.4.5, 104.45 etc.

Anyone have anything like this lying about? All the examples i've found so far dont really do it.




lee