vegui. sk. formcheck.js

Allows you to have client side validation with error messages on HTML forms

Dependencies

vegui.sk.std.js, vegui.sk.validate.js

Optional Dependencies for full functionality

vegui.sk.ani.js, vegui.sk.ani.fade.js if you want to fade in error messages, THIS FEATURE DOES NOT WORK IN INTERNET EXPLORER

Valid HTML attributes for input fields in a form

vsk_requiredvalidation on existing value
vsk_numericvalidation that value is a number
vsk_emailvalidation that value is a valid email address
vsk_urlvalidation that value is a valid URL
Summary
Allows you to have client side validation with error messages on HTML forms
Validate every input field depending on the attributes set on it.

Functions

vsk_formcheck

function vsk_formcheck(form,
align)

Validate every input field depending on the attributes set on it.

Parameters

Node formform element
string aligngeneral alignment of error messages to their element , only relevent when vsk_error attribute is not submitted

Valid Alignment Strings

’t’on top of the error element
’b’under the error element
function vsk_formcheck(form,
align)
Validate every input field depending on the attributes set on it.
Functions for client-side user input validation
vegui.sk.std.js
vegui.sk.std.js vegui.sk.ani.js