form validation for new event