On tab change validation

On tab change validation