protected function registerClientScriptValidator() { if ($this->getClientValidationFunction() !== '') { parent::registerClientScriptValidator(); } }