Example #1
0
 /**
  * In case everything was fine, let's return a thank you note to the user
  * 
  * @param \Feeld\FieldInterface $lastField
  */
 public function onValidationSuccess(\Feeld\FieldInterface $lastField = null)
 {
     $this->status = InterviewInterface::STATUS_AFTER_INTERVIEW;
     $this->getUniqueID();
     $this->errorContainer->clear();
     $this->getSuccessDisplay()->setVisible();
     $this->getCurrentCollection()->getDisplay()->setInvisible();
     $this->lastAnsweredCollection = $this->currentCollectionId;
 }