Textbox Fuctonality

I am working on textbox functionalities if I am entering Digits and decimal digits it should be entered in textbox and if I am entering string or one letter in the same textbox it should not be entered how can I achieve this can anyone help me out 
1 answers

Hey Imthiyas,

apply a HTML snippet and then using javascript apply an OnkeyUp event to check whether the entered  object is a number or a character.

Hope it helps!