hspvalid | A html form validate framework

 by   hsp8712 JavaScript Version: Current License: MIT

kandi X-RAY | hspvalid Summary

kandi X-RAY | hspvalid Summary

hspvalid is a JavaScript library. hspvalid has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

jQuery hspvalid v1.0 @author shipley How to use: 1、运用在input、textarea 或 select 等 表单元素上; 2、7个属性(required, rule, myrule, length, valuerange, title, vmethod); 3、用法: 通过在html表单元素上添加2中的属性,实现表单验证限制, a、非空验证,required='true' 验证不能为空; b、正则验证,rule=regName, ruleName值取下面option变量下的vDefReg下面的key,比如: number(数字)\eng(英文字母)\chs(汉字)..., 可以动态的添加新的验证规则; c、自定义正则验证,myrule="{regex: 正则, desc:格式描述 }",实现验证的定制,优先级高于rule属性; d、长度验证,length='byte[num1, num2]' (字节长度范围为num1到num2包括边界),length='[num1,num2]'(字符长度范围为num1到num2包括边界) e、数值范围验证,valuerange="num1, num2", 依赖rule="numeric"(数值)或rule="integer"(整数数值),限制数值的最大值和最小值(包括边界) 如: valuerange="10, 100" 代表10 <=value<=100 f、特殊逻辑验证,vmethod="function()", function为一js代码的字符串表示返回布尔值,其中实现某种商业逻辑; g、表单项名称,title='title'(提示信息以title值为表单项的名称,如果title属性不存在,或为空: 如:项目1 则取'项目1'为表单项名称,其中提示信息以'表单项名称'开头;.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              hspvalid has a low active ecosystem.
              It has 0 star(s) with 0 fork(s). There are 1 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              hspvalid has no issues reported. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of hspvalid is current.

            kandi-Quality Quality

              hspvalid has no bugs reported.

            kandi-Security Security

              hspvalid has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              hspvalid is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              hspvalid releases are not available. You will need to build from source code and install.
              Installation instructions are not available. Examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of hspvalid
            Get all kandi verified functions for this library.

            hspvalid Key Features

            No Key Features are available at this moment for hspvalid.

            hspvalid Examples and Code Snippets

            No Code Snippets are available at this moment for hspvalid.

            Community Discussions

            No Community Discussions are available at this moment for hspvalid.Refer to stack overflow page for discussions.

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install hspvalid

            You can download it from GitHub.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/hsp8712/hspvalid.git

          • CLI

            gh repo clone hsp8712/hspvalid

          • sshUrl

            git@github.com:hsp8712/hspvalid.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Consider Popular JavaScript Libraries

            freeCodeCamp

            by freeCodeCamp

            vue

            by vuejs

            react

            by facebook

            bootstrap

            by twbs

            Try Top Libraries by hsp8712

            addrparser

            by hsp8712Java

            kqsys

            by hsp8712JavaScript