Validate some fields when creating an event.