/** * Determines if the field was actually shown on the client side - if not, * we don't validate or save it. * * @return boolean */ public function isSaveable() { return !$this->showOnClick || $this->showOnClick && $this->hiddenField && $this->hiddenField->Value(); }