View this documentation in the following language:

Overview

The Jaz formValidator is a client-side javascript which verifies user input before they send it to the server. It instantly provides the user with information what he does wrong. It consequently is a perfect way to enlarge usability in your forms.

The Jaz formValidator is an unobtrusive piece of javascript which is considered to be very easy to install and use, and as usefull as possible. Jaz formValidator is build upon jQuery and is only 5kb small. It is flexible and is free to use and share.

Goal

The goal of jaz formValidator is to provide a simple to use but powerful Tool for helping your users to fill out your forms correctly as fast and comfortable as possible.

Requirements

Jaz formValidator needs jQuery which you can download with Jaz.formValidator here or you can get it direcly at jQuery.com.

Features

Here are some of the features:

  • Only 6 kb in size
  • Easy and fast to install
  • Easy to extend
  • It's free

Filters

Here are all filters that are included in version 0.1:

validate_required
This field must contain at least some character.
validate_number
Positive or negative number, with or without decimal places. Pre- and decimal places must be separated with a dot (.).
validate_numberC
Positive or negative number, with or without decimal places. Pre- and decimal places must be separated with a comma (,).
validate_currency
A point-separated number with maximal two decimal places.
validate_currencyC
A comma-separated number with maximal two decimal places.
validate_alpha
Field accept only letters.
validate_alphanum
Field accept letters or digits.
validate_alphaDE
Field accept only letters. (Including german umlauts)
validate_alphanumDE
Field accept letters or digits. (Including german umlauts)
validate_digit
Field accept only digits.
validate_mail
A valid email address.
validate_url
An URL (http,ftp,https) of any shape.
validate_germanzip
A german postal code.
validate_uscanzip
An U.S. or canadian postal code.

License

Creative Commons License
This work is published under a Creative Commons-License.

You can use it freely, but please leave the author comments inside that .js-file or a link to this site.