I want to format my textbox to have 4 numerical integers at all times. Example 90 would equal 0090. I also do not want letters to be entered. Any help would be greatly appreciated
You mean like a Masked Textbox ? You can use a mask of "0000" to ensure only numbers can be entered, and that you need four of them.
If it's for asp.net you could look at a MaskedEdit or a jQuery solution.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.