added red border to fields that didn't pass validation