Skip to content
/ nod Public
forked from casperin/nod

jQuery plugin that gives you frontend validation for forms.

Notifications You must be signed in to change notification settings

maansinga/nod

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nod v.1.0.5

Frontend validation jQuery plugin

Documentation and examples -- or you can just clone this and open index.html :)

Post fork features -by Simtron

Can remove nod validation from the form by calling

$('your-form-element-unique-id').nod().destroy()

Now you can dynamically reload forms with deinitialization and reinitialization!! Example?

[www.credihealth.com/query] If you change query type from domestic to international, new fields addup and new validations are added on the fly! It is for this project, I had to fork nod.

Lately I'm happy with HTML5's own form validation features.

Dependencies

  • jQuery, version 1.8 or above

Although not strictly a dependency, nod.js was built with Bootstrap in mind.

Develop and Testing

This project comes with a develop enviroment managed with Gruntjs

### Setup dev environment

Download your dependencies for develop and testing.

npm install && bower install

Develop

You can develop and test and compile coffee and jade in real time and watch the changes with live reload

grunt server

Building

Once you have complete your changes you can build it and move the files to the root with.

grunt build

Contributors

License

May be freely distributed under the MIT license.

Updates

  • v 1.0.5
  • v 1.0.4
  • v 1.0.3
    • one-of
    • different handling of ajax calls
  • v 1.0.2
    • silentSubmit
    • Better selectors
  • v 1.0.1
    • Support for ajax checking added
    • Radio button support
    • Restructuring code
    • Moved to yeoman and gruntjs
    • Removed redundant stuff from options

About

jQuery plugin that gives you frontend validation for forms.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 55.1%
  • CoffeeScript 42.8%
  • CSS 2.1%