Changes validation logic to user setValidity