current position:Home>In simple terms, flask (20): form verification of h-ui front-end framework

In simple terms, flask (20): form verification of h-ui front-end framework

2021-08-23 02:33:28 caimouse

I learned how to layout the form , The next step is to verify the form . There are many ways to verify , For example, using front-end Authentication , Back end authentication can also be used . Different components can be used to verify , such as jQuery.Validate.js verification , You can also use Validform.js verification .

Use here jQuery.Validate.js verification ,jQuery.Validate.js By jQuery The team 、 jQuery UI The main developers on the team Jörn Zaefferer Write and maintain a set of form verification plug-ins , It provides a powerful verification function for forms , Make client form validation easier , At the same time, there are a lot of customization options , Meet the needs of the application . It is one of the most powerful form verification plug-ins at present .jQuery.validate.js rely on jQuery perhaps zepto.js.

Introducing scripts when using

<script type="text/javascript" src="lib/jquery.validation/1.14.0/jquery.validate.min.js"></script>

<scri

copyright notice
author[caimouse],Please bring the original link to reprint, thank you.
https://en.qdmana.com/2021/08/20210823023326252l.html

Random recommended