Skip to content
brunobg edited this page Jan 28, 2013 · 1 revision

See the defaults variable for a complete, up to date documentation.

  • debug: false, /// if true, print
  • errorClass: "error", /// class added to invalid elements.
  • validClass: "valid", /// class added to valid elements.
  • pendingClass: "pending", /// class added to elements being validated.
  • errorElement: "label", /// element used to display the error message
  • focusInvalid: true, /// if true, focus on element when there is an error
  • invalidHandler: null, /// a function to be called when the form is invalid
  • submitHandler: null, /// a function to be called on a submit event.
  • ignore: ":hidden", /// selectors to ignore
  • noignore: ".noignore", /// selectors to don't ignore in every case
  • i18n: function(str) { return str; } // function for internationalization
Clone this wiki locally