Please provide exact code to implement:
1. changing lower to upper char when entered by user
2. allow entering only digits
3. allow entering only letters and spaces
I have a text field and I need the code to put , say onkeyup .....
I need to simply block the user from entering unwanted chars, not to allow, then display an error messatge.