improved event form error handling.