vegUI.org home of the javascript based window manager and AJAX framework

VegUISiteKit: Formcheck

VSK formcheck allows you to validate user input before the data is sent to the server. Note that this should never replace server side validation and is simply to enhance the experience for the end user as he gets notified of wrongly entered information before it is sent to the server. Using the User Input Validation library it currently provides ways to validate email, numeric, required and URL input. It is easy to extend and allows you to add your own validation types and functions.

Demonstration

Name:
Number:
Email:
URL:
Custom:

Dependencies:

Instead of downloading all packages and dependencies manually it is recommended that you use the new compiled download script, as it will automatically compile all selected libraries - including dependencies - into one compact javascript file for you to download.

This library is dependent on at least one other VSK library so make sure you download the libraries in the list below.

file-name description
vegui.sk.std.js VSK Core Library
vegui.sk.validate.js VSK User Input Validation
Optional, for full functionality
vegui.sk.ani.js VSK Effect Framework
vegui.sk.ani.fade.js VSK Effect: Fade

Browser-Specific Notes

The fade effect that fade's in the error messages is not working in internet explorer, since IE only can apply its alpha filter on absolute positioned elements for some reason. I will try to implement a solution for that in the future.

Download

This package contains the code in both commented and compressed forms. The compressed version has had it's comments and unnecessary whitespace removed in order to reduce it's size.

download version
tar.gz (3,3 KB),
zip (5,4 KB)
0.1.0 (beta)

Tutorials on using this library

BETA notice

While this library is in BETA phase YOU can help get it out of there quicker by submitting any bugs you may find to the bug database. Thanks for helping ;)

Changelog

2007.03.10 - vegu@vegui.org
        * version 0.1.0