<!--BEGIN FORM VALIDATION SCRIPT-->
<script language="JavaScript1.2">
/* Written by Premshree Pillai
Created 2:22 PM 5/12/02
http://www.qiksearch.com [email protected] */
/* Visit http://www.qiksearch.com/javascripts.htm for FREE scripts */
/* Location of script : http://www.qiksearch.com/javascripts/form-validator.htm */
var alphaChars="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ ";
var numChars="0123456789";
var error;
var error_n;
var error_ad;
var error_a;
var error_z;
var errormsg;
//--------------------------Customise-------------------------------
var isNameReq=true; // True if Name field required else False
var isAddressReq=true; // True if Address field required else False
var isAgeReq=false; // True if Name Age required else False
var isZipReq=true; // True if Name Zip required else False
//------------------------------------------------------------------
This is a JavaScript Form validator. When you submit the form, it validates the data you entered in the various fields.
<br><br>You are allowed to enter only alphabetical characters in the "Name" field. You can enter only numerical data in the "Age" and "Zip" fields.
<br><br>You can also choose which fields are "required" by the user to be filled.
<hr style="color:#CC0000; height:1px; width:100%">
<a href="http://www.qiksearch.com" class="link">© 2002 Premshree Pillai. All rights reserved.</a>
</font>
</td></tr></table>