suppose a text field takes phone number as input. i want to make the text field take only digits and if any letter is pressed then no character is echoed in the text field. how can i do this?