/jcheck

Javascript validations done right

Primary LanguageJavaScriptApache License 2.0Apache-2.0

jCheck

This project is no longer being maintened, I’m working on a new validation framework that I highly recommend you to use instead of jCheck: composed validations

jCheck provides an easy way to create full customized validations for your javascript. You should check our site for demos and full documentation for using it.
Using Rails 3? You really should checkout our jCheck Rails project!

Developing

jCheck is developed using Coffee Script
version 0.9.1, so you need to install it in order to compile Coffee Script
sources.

Running specs

To run specs just open the file spec/dom.html

Roadmap

0.8.0

  • Ajax validator
  • Use HTML 5 data attributes to define validations

1.0

  • Cover features with automated tests

2.0

  • Framework independence

Changelog

0.7.1

  • ignore validations on fields that are not present in form

0.7.0

  • ported source to CoffeeScript 0.9
  • URL format for format validator
  • Now you can set a globally which will be the default notifiers
  • Fixed bug on notifier_dialog that makes crazy things when have many at same page

0.6.0

  • added jspec to the project
  • create a lot of specs
  • fixed presence validator (don’t allow strings with just spaces)
  • fixed numaricality validator (don’t allow things like 90px)
  • full compatibility with Internet Explorer 6

0.5.0

  • First Release