JQuery CPF Validator

Simple Jquery validator method to validate brazilian cpf.

See: http://jsfiddle.net/7TB6r/

How to use

  1. Add JQuery CPF validator on your code:
  <script src="jquery.js"></script>
  <script src="jquery.validate.js"></script>
  <script src="jquery.cpf.validator.js"></script>
  1. Add 'cpf' class to input text:
  <input type="text" name="cpf" id="cpf" class="required cpf" />
  1. Enjoy!

TODO

  • Documentation
  • Tests
  • Github pages
  • Refactory?

Fallow-me @the_programer