function userValidation(){
var objForm = document.forms["contactForm"];
objForm.firstName.required = 1;
objForm.firstName.RegExp = /^[a-zA-Z0-9_\- ]+$/;
objForm.firstName.err = "Please enter valid alphanumeric characters only!";
objForm.lastName.required = 1;
objForm.lastName.RegExp = /^[a-zA-Z0-9_\- ]+$/;
objForm.lastName.err = "Please enter valid alphanumeric characters only!";
objForm.email.required = 1;
objForm.email.regexp = "JSVAL_RX_EMAIL";
objForm.email.err = "Please enter the correct email format i.e. yourname@yourdomain.com!";
objForm.fm_conf_code.required = 1;
objForm.fm_conf_code.RegExp = /^[a-zA-Z0-9_\- ]+$/;
objForm.fm_conf_code.minlength = 5;
objForm.fm_conf_code.maxlength = 5;
objForm.fm_conf_code.err = "Please enter the correct confimation code!";}
