<HEAD>
........
<!--// load the qForm JavaScript API //-->
<SCRIPT SRC="../../lib/qforms.js"></SCRIPT>
<SCRIPT LANGUAGE="JavaScript">
<!--//
// set the path to the qForms directory
qFormAPI.setLibraryPath("../../lib/");
// this loads all the default libraries
qFormAPI.include("*");
//-->
</SCRIPT>
</HEAD>
<body>
<!--// ..... Form Html ....... //-->
<!--// ..... qForms Code Form Binding >> ....... //-->
<SCRIPT LANGUAGE="JavaScript">
<!--//
// initialize the qForm object
objForm = new qForm("frmExample");
// make these fields required
objForm.required("Name, Email");
// force validation to occur on the "onBlur" events
objForm.forceValidation("Name, Email");
// make sure the "Name" field is not left empty
objForm.Name.validateNotEmpty();
// make sure the "Email" field appears syntatically correct
objForm.Email.validateEmail();
//-->
</body>