Moving error callback trigering out of #isValid method