form validation for create new event