add validations and error displays on events