Hi guys. I'm validating input of a form that should be only a number value only when a checkbox is checked. Otherwise it shoudl be a text value. Now my question is how to I alert the user that only a number should be entered. What function could I call to tell if the user entered text into the form text field or if they entered a number and perform the necessary function thereafter. Thanks for any help.