Xiaojing: add validation of event form