/** * Hide field value from onCorrect function * * @param boolean $bool * @return static */ public function hideFromOnCorrect($bool = true) { if ($bool) { $this->form_object->unsetOnCorrectField($this->name); } else { $this->form_object->setOnCorrectField($this->name); } return $this; }