Example #1
0
 /**
  * In case there was a validation error, let's invite the user again to
  * answer the questions
  * 
  * @param \Feeld\FieldInterface $lastField
  */
 public function onValidationError(\Feeld\FieldInterface $lastField = null)
 {
     $this->status = InterviewInterface::STATUS_VALIDATION_ERROR;
     $this->errorContainer->clear();
     $this->errorContainer->addSet($this->getCurrentCollection()->validate());
     $this->inviteAnswers();
 }