Added on validation errors callback