Home > front end > To realize the form in the text box shows the results of validation
To realize the form in the text box shows the results of validation
Time:12-31
Specific requirements is that when the content of the text box input, if the information is not in conformity with the rules in the text box inner red font prompts for illegal content Is behind the text box of the tooltip to text box inside
CodePudding user response:
Set up an illegal input box style, when the input illegal add illegal style, and the input box to change the value of message
CodePudding user response:
The text box to get focus again, fill in the information is not ah, how to get to the focus after the message disappears, or display the original fill in content
CodePudding user response:
Form validation this thing every UI framework, basic it under the form form classification