/** * Check for the form errors * * @return boolean */ public function isValid() { return 'validateInput' === $this->currentAction ?: parent::isValid(); }