event form validation fix