refs #4: Accounted for form errors, although not well.