How to handle if user enter letter instead of digit?
I have a TextBox that should only accept digits. I added a required field validator to the TextBox so that the value cannot be empty, but开发者_高级运维 if the user enters a letter or a zero, then the logic fails. How should I handle this?
You can use Microsoft's Mask Edit
You can use a mask input plugin
精彩评论