Alternate form validation

Simple refactoring of form error method