Vinter.validate

码农软件 · 软件分类 · 其他jQuery插件 · 2020-01-11 14:26:46

软件介绍

A very simple to use form validation plugin for jQuery, no complicated settings and configuration options to get going.

  • Start using straight away
  • Error messages in markup
  • Easy plugin in existing forms, just add error messages and a call to the validator!
  • Per fieldset validation

Currently supporting:

  • Validate empty text fields
  • Email-validation
  • Number validation
  • Checkbox and radio-button groups validation
  • Select-box validation
  • If title="" attr is used and the input value == title the field will still be marked with error to allow for using default form values and "descriptions"
  • HTML in error messages
  • Custom validation callback
  • adds "notvalid" class to form fields
  • Super simple usage.
  • Choose to validate specific fieldsets only

Usage

<div id="validationmsg"></div>
<fieldset>
    <label>
        Name: <input type="text" class="required" />
        <span class="errmsg">This is the error message, hideme with css</span>
    </label>

    <input type="submit" value="Submit form" onclick="return jQuery.validate()" />
</fieldset>

The errmsg have to be inside the field label for the validator to find it. The validationmsg div can be anywhere on the page, and the ID can be configurated using the options. See demo page for more advanced example including checkbox & radiobutton validation.

本文地址:https://codercto.com/soft/d/23150.html

A Byte of Python

A Byte of Python

Swaroop C H / Lulu Marketplace / 2008-10-1 / USD 27.98

'A Byte of Python' is a book on programming using the Python language. It serves as a tutorial or guide to the Python language for a beginner audience. If all you know about computers is how to save t......一起来看看 《A Byte of Python》 这本书的介绍吧!

在线进制转换器
在线进制转换器

各进制数互转换器

URL 编码/解码
URL 编码/解码

URL 编码/解码

正则表达式在线测试
正则表达式在线测试

正则表达式在线测试