yav - javascript validation tool
Home
Download
|
Support
Documentation
Getting started
Validation rules
Multi-language support
Learn by example
Simple registration form
Notification of changes
Newsletter Sign-up
Captcha
The andor-operator
Pre/Post/Implies rules
Working with the masks
Custom validation
Support
Discussion group
Mailing list
E-mail contact
Example 4
Here you can learn more about the ajax calls with yav using the post validation.
[This is a trivial captcha example (you must have cookies enabled because of our server's settings for php).
In a real web application you should use a more secure captcha service. The captcha validation is case insensitive.]
source
var rules=new Array(); rules[0]='code:the captcha code|required'; yav.addHelp('code', 'Please enter the characters on the image above'); yav.postValidation_OnOK('code', 'blur', 'ajaxCall()');
Captcha Example
Enter the code:
Copyright 2005-2008. All rights reserved.