Example #1
0
 /**
  * Overrides the template module method to realize form logic
  * @return boolean
  */
 protected function BeforeGather()
 {
     if ($this->IsTriggered() && $this->Elements()->Check(Request::MethodArray($this->Method()))) {
         return $this->OnSuccess();
     }
     return parent::BeforeGather();
 }