开发者

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜