original_string: protected function onInValid()
      {
          // We disable this standard error message as we are not changing anything here
          //$this->addMessage(sprintf($this->_('Input error! Changes to %s not saved!'), $this->getTopic()));
  
          if ($this->_csrf) {
              if ($this->_csrf->getMessages()) {
                  $this->addMessage($this->_('The form was open for too long or was opened in multiple windows.'));
              }
          }
      }
code: protected function onInValid()
      {
          // We disable this standard error message as we are not changing anything here
          //$this->addMessage(sprintf($this->_('Input error! Changes to %s not saved!'), $this->getTopic()));
  
          if ($this->_csrf) {
              if ($this->_csrf->getMessages()) {
                  $this->addMessage($this->_('The form was open for too long or was opened in multiple windows.'));
              }
          }
      }
code_tokens: protected function onInValid ( ) { // We disable this standard error message as we are not changing anything here //$this->addMessage(sprintf($this->_('Input error! Changes to %s not saved!'), $this->getTopic())); if ( $ this -> _csrf ) { if ( $ this -> _csrf -> getMessages ( ) ) { $ this -> addMessage ( $ this -> _ ( 'The form was open for too long or was opened in multiple windows.' ) ) ; } } }
docstring: Hook that allows actions when the input is invalid
  
  When not rerouted, the form will be populated afterwards
docstring_tokens: Hook that allows actions when the input is invalid