Fixed an issue with the event form validation