d
l
g

Javascript Form Validation

To get Validanguage, or learn more, click one of the links below:

Download Validanguage | Validanguage documentation | Validanguage Demos / Test Cases

    Validanguage - Latest version is 0.9.9


Validanguage is an inheritance-driven, open source javascript validation library designed to be the most feature-rich, user-friendly validation framework available. It has been verified to work in all major browsers, including Internet Explorer, Firefox, Safari, Opera, Konqueror and Chrome. A few of the major features of the library are listed below:

Here's an example of Validanguage's keypress suppression, defined using the comment tag API:

Try typing anything other than a number, dollar sign or period in this textbox:

<!-- <validanguage target="example" mode="allow" expression="numeric$." /> -->

Here's an example of the Object-based API for the same functionality (with a couple additional rules thrown in):

validanguage.el.example = {
  characters: {
     mode: 'allow',
     expression: 'numeric$.',
     onsubmit: true,
     errorMsg: 'You may only enter numbers, periods,
                or the dollar sign.'
  },
  required: true,
  errorMsg: 'Please enter a valid monetary amount',
  onsuccess: 'someObject.successHandler',
  onerror: [errorHandler1, errorHandler2]
}   

To get Validanguage, or learn more, click one of the links below:

Download Validanguage | Validanguage documentation | Validanguage Demos / Test Cases