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

CodePudding user response:

reference sha worm agent reply: 3/f
form validation this thing every UI framework, basic is under the form form classification

I tried layUI, feel is good, thank you!

CodePudding user response:

The
let& reference 4 floor; Var response:
Quote: refer to the third floor of sha worm agent reply:
form validation this thing every UI framework, basic is under the form form classification

I tried layUI, feel is good, thank you!
nothing actually this thing to write their own it is just a little troubles than framework
  • Related