The form can be verified in time when inputting. Only numbers and letters X and x can be entered. It will automatically become empty when other inputs are made. Supports both mobile and Chinese verification!
巴扎黑2017-05-19 10:10:01
I don’t understand what you want to express. Why does real-time ID card verification support Chinese?
There are a lot of regular expressions for ID card verification on the Internet, so find them yourself first.
为情所困2017-05-19 10:10:01
The setting of automatically emptying is not very user-friendly. The input box should be turned red or have text prompts or something.
The general idea is to monitor typing events when typing. If the conditions are not met, handle them accordingly. The conditions are determined by using regular expressions