change event type view layout and data validate