All Projects → rickharrison → Validate.js

rickharrison / Validate.js

Licence: other
Lightweight JavaScript form validation library inspired by CodeIgniter.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Validate.js

Composable Form
Build type-safe composable forms in Elm
Stars: ✭ 179 (-92.95%)
Mutual labels:  forms
Nestedlink
Callback-free React forms with painless validation.
Stars: ✭ 194 (-92.36%)
Mutual labels:  forms
Documentation
📋 Official documentation/website
Stars: ✭ 202 (-92.05%)
Mutual labels:  forms
Ember One Way Controls
Native one way input
Stars: ✭ 184 (-92.76%)
Mutual labels:  forms
React Widgets
Polished, feature rich, accessible form inputs built with React
Stars: ✭ 2,236 (-11.97%)
Mutual labels:  forms
Learnify
👨🏻‍🏫 — Web Edukasi Open-Source yang dibuat oleh SYAUQIZAIDAN KHAIRAN KHALAF. Learnify adalah Web edukasi yang dilengkapi video, materi dan sistem ujian yang tersedia secara gratis. Learnify dibuat ditujukan agar para siswa dan guru dapat terus belajar dan mengajar dimana saja dan kapan saja.
Stars: ✭ 199 (-92.17%)
Mutual labels:  codeigniter
React Serial Forms
A lightweight and extendable SSR-friendly form library (for React).
Stars: ✭ 172 (-93.23%)
Mutual labels:  forms
Vue Questionnaire
使用 Vue + CI 开发的简易问卷调查系统,演示账户:admin / admin
Stars: ✭ 220 (-91.34%)
Mutual labels:  codeigniter
Codeigniter Phpstorm
PhpStorm Code Completion to CodeIgniter
Stars: ✭ 194 (-92.36%)
Mutual labels:  codeigniter
Jcf
Advanced form elements customization using CSS/JS
Stars: ✭ 203 (-92.01%)
Mutual labels:  forms
React Form
⚛️ Hooks for managing form state and validation in React
Stars: ✭ 2,270 (-10.63%)
Mutual labels:  forms
Redux Form
A Higher Order Component using react-redux to keep form state in a Redux store
Stars: ✭ 12,597 (+395.94%)
Mutual labels:  forms
Rich Model Forms Bundle
Provides additional data mappers that ease the use of the Symfony Form component with rich models.
Stars: ✭ 198 (-92.2%)
Mutual labels:  forms
React Redux Form
Create forms easily in React with Redux.
Stars: ✭ 2,099 (-17.36%)
Mutual labels:  forms
Formex
A better form library for Phoenix
Stars: ✭ 206 (-91.89%)
Mutual labels:  forms
React Apollo Form
Build React forms based on GraphQL APIs.
Stars: ✭ 178 (-92.99%)
Mutual labels:  forms
Jsonform
Build forms from JSON Schema. Easily template-able. Compatible with Bootstrap 3 out of the box.
Stars: ✭ 2,416 (-4.88%)
Mutual labels:  forms
Validate
A lightweight form validation script.
Stars: ✭ 227 (-91.06%)
Mutual labels:  forms
Upload
Framework agnostic upload handler library
Stars: ✭ 213 (-91.61%)
Mutual labels:  forms
React Json Editor
A dynamic form component for react using JSON-Schema.
Stars: ✭ 201 (-92.09%)
Mutual labels:  forms

validate.js

validate.js is a lightweight JavaScript form validation library inspired by CodeIgniter.

Features

  • Validate form fields from over a dozen rules
  • No dependencies
  • Customizable Messages
  • Supply your own validation callbacks for custom rules
  • Chainable customization methods for ease of declaration
  • Works in all major browsers, (even IE6!)
  • Modeled off the CodeIgniter form validation API

How to use

    var validator = new FormValidator('example_form', [{
        name: 'req',
        display: 'required',
        rules: 'required'
    }, {
        name: 'alphanumeric',
        rules: 'alpha_numeric'
    }, {
        name: 'password',
        rules: 'required'
    }, {
        name: 'password_confirm',
        display: 'password confirmation',
        rules: 'required|matches[password]'
    }, {
        name: 'email',
        rules: 'valid_email'
    }, {
        name: 'minlength',
        display: 'min length',
        rules: 'min_length[8]'
    }, {
        names: ['fname', 'lname'],
        rules: 'required|alpha'
    }], function(errors) {
        if (errors.length > 0) {
            // Show the errors
        }
    });

Documentation

You can view everything at http://rickharrison.github.com/validate.js

Browserify

It is published to npm under validate-js

npm install validate-js

Plugins

jQuery: https://github.com/magizh/validate_helper

Multi-Language Support

jnhwkim's fork added multi-language support viewable at https://github.com/jnhwkim/validate.js

Chinese - https://github.com/chilijung/validate.js

French - https://github.com/Facyla/validate.js

Brazilian Portuguese - https://github.com/fabiowitt/validate.js

ghit.me

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].