Added exception handling to Form Validation