Handle case where event is not passed to form submit handler