form shows errors when field is left blank and focus is taken off of the form field