Home JS special effects jQuery effects jQuery form validation example demo code

jQuery form validation example demo code

jQuery form validation example demo code

jQuery form validation example demo code

The jQuery form verification example demonstration code is a form verification code that can set mobile phone number, email address, Chinese name, ID number, etc.

<form action="#" type="validate">
<div align="center">
<h1>Verification example:<p>You can try to write others yourself</p></h1>
<br />
<table width="30%" border="0">
         
            <td class="labels">Mobile phone:</td>
<td><input type="text" name="t2" valType="MOBILE" msg="<font color=red>*</font>Mobile format is incorrect" /></td> ;
</tr>
<tr>
         <td class="labels">E-mail:</td>
<td><input type="text" name="t2" valType="MAIL" msg="<font color=red>*</font>The email format is incorrect" /></ td>
</tr>
<tr>
            <td class="labels">Chinese name:</td>
<td><input type="text" name="t2" valType="CHINESE" msg="<font color=red>*</font>Chinese format is incorrect" /></td> ;
</tr>
<tr>
            <td class="labels">ID card number:</td>
<td><input type="text" name="t2" valType="IDENTITY" msg="<font color=red>*</font>The format of the ID number is incorrect" />< /td>
</tr>
<tr>
                                                                                                                                                                                                  </tr>
</table>
</div>
</form>

Disclaimer

All resources on this site are contributed by netizens or reprinted by major download sites. Please check the integrity of the software yourself! All resources on this site are for learning reference only. Please do not use them for commercial purposes. Otherwise, you will be responsible for all consequences! If there is any infringement, please contact us to delete it. Contact information: admin@php.cn

Related Article

jquery validata form validation DEMO jquery validata form validation DEMO

25 Jul 2016

jquery validata form validation DEMO

Example code for jQuery form validation Example code for jQuery form validation

30 Sep 2017

This article mainly introduces the example code of jquery to complete form verification. The code is simple and easy to understand. Friends who need it can refer to it.

jQuery ajax submit Form form example (with demo source code)_jquery jQuery ajax submit Form form example (with demo source code)_jquery

16 May 2016

This article mainly introduces the method of jQuery ajax submitting Form form, and analyzes the related techniques of jQuery ajax operation to realize form submission with examples. It also comes with demo source code for readers to download and refer to. Friends who need it can refer to it.

jquery validate.js form validation entry example (with source code)_jquery jquery validate.js form validation entry example (with source code)_jquery

16 May 2016

This article mainly introduces jquery validate.js form validation entry examples, and provides you with the source code of jquery validate.js form validation. It is especially suitable for beginners to learn validate.js form validation. Interested friends can refer to it.

jQuery animation display and hiding effect example demonstration (with demo source code download)_jquery jQuery animation display and hiding effect example demonstration (with demo source code download)_jquery

16 May 2016

This article mainly introduces the implementation method of jQuery animation display and hiding effects, and comes with demo source code for readers to download and refer to. It involves the display, hiding and fading effects of jQuery operating pictures. Friends in need can refer to the following

 
下面请看一个大一点的例子 为ListBox Control创建常规的验证
我们可以这样添加规则
jQuery Validation example code makes validation so easy_jquery

16 May 2016

As we all know, Jquery drives countless people crazy with its simplicity. Now I want to introduce jQuery Validation to you. When you see Validation, your first intuitive feeling is that it must be a verification framework. That’s right. This article is based on jQuery Validation.

Detailed example of jQuery completing form validation function Detailed example of jQuery completing form validation function

27 Dec 2017

This article mainly introduces the example code of jQuery to complete form verification. The code is simple and easy to understand. Friends who need it can refer to it. I hope it can help everyone use jQuery to complete the form verification function.

jQuery form serialization example code example sharing jQuery form serialization example code example sharing

10 Jan 2018

This article mainly introduces jQuery form serialization example code. Friends who need it can refer to it. I hope everyone can better master jQuery form serialization knowledge.

Introduction to Jquery Validate validation and code examples of jQuery form validation Introduction to Jquery Validate validation and code examples of jQuery form validation

14 Aug 2018

This article brings you an introduction to Jquery Validate verification and code examples of jQuery form verification. It has certain reference value. Friends in need can refer to it. I hope it will be helpful to you.

See all articles See all articles

Hot Tools

jQuery2019 Valentine's Day Confession Fireworks Animation Special Effects

jQuery2019 Valentine's Day Confession Fireworks Animation Special Effects

A very popular jQuery Valentine's Day confession fireworks animation special effect on Douyin, suitable for programmers and technical geeks to express their love to the girl they love. No matter you choose to be willing or not, you have to agree in the end.

layui responsive animated login interface template

layui responsive animated login interface template

layui responsive animated login interface template

520 Valentine's Day confession web animation special effects

520 Valentine's Day confession web animation special effects

jQuery Valentine's Day Confession Animation, 520 Confession Background Animation

Cool system login page

Cool system login page

Cool system login page

HTML5 tape music player-CASSETTE PLAYER

HTML5 tape music player-CASSETTE PLAYER

HTML5 tape music player-CASSETTE PLAYER