Skip to content
brunobg edited this page Dec 20, 2012 · 9 revisions

Validarium wiki!

Validarium is a Jquery plugin for easy validation of forms. Its idea is to use HTML attributes in the tags to describe the rules (in data-rules-xxxxxx attributes), making it easy to add and even modify dynamically any validation requirements on forms. It is also somewhat compatible with Jquery Validate, making it easy to reuse code meant for Validate or to convert existing code.

Plugin documentation

Below is the documentation of each of the validation methods supported natively by Validarium.

Plugins executed on every key typed or click

  • date: Date
  • dateiso: Date in iso format
  • digits: Digits only
  • email: Email
  • equalto: Compare two fields and ensure they are equal
  • mask: Fit in a given mask
  • max: Maximum numeric value for a string
  • maxlength: Maximum length for a string
  • min: Minimum numeric value for a string
  • minlength: Minimum length for a string
  • number: Numeric field (floating point)
  • regexp: regular expression validation
  • required: required field
  • url: url

Plugins executed on blur/focus out

Plugins executed on submit only

Clone this wiki locally