Is it possible to make a textbox where you can only input numbers or characters?
Is it possible to make a textbox where you can only input numbers or characters?
P.S.: I'm sorry if my language isn't correct, but this is because I'm from Belgium. Normally seen my English isn't so bad but I can't know everything. If you find a mistake you may always say it to me.
why not. everything is possible in net. you can use onkey* events of the textbox you use to check what keys are pressed or you can make your own textbox control.
Should it be possible to explain a bit more what I exactly have to do? Because I tried but I don't realy seem to find out how it exactly works. Can you for example explain to me how you can make a textbox where you only can put numbers in?
P.S.: I'm sorry if my language isn't correct, but this is because I'm from Belgium. Normally seen my English isn't so bad but I can't know everything. If you find a mistake you may always say it to me.
required field
Post #10 should get you real close to what you want.
Thanks to Kulrom.
also discussed here - with code:
required field
David C. Talcott
Thanks a lot I was searching for this for some while now!
P.S.: I'm sorry if my language isn't correct, but this is because I'm from Belgium. Normally seen my English isn't so bad but I can't know everything. If you find a mistake you may always say it to me.
Bookmarks