Added numErrors() method to retrieve number of errors found after full form validation (onSubmit)
Updated Version