var myformValidator = new Validator("myform");
myformValidator.addValidation("name","req","Please enter your First Name");
myformValidator.addValidation("from","req","Please enter your Email Address");
myformValidator.addValidation("from","email","Please enter a valid Email Address - There seems to be a typing error in your Email Address");