create event styles and validation