-
Notifications
You must be signed in to change notification settings - Fork 4
Home
brunobg edited this page Dec 20, 2012
·
9 revisions
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.
Below is the documentation of each of the validation methods supported natively by Validarium.
- 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