/** * Get view value * @return string */ public function _getViewValue() { $v = \FormHandler\Utils::html($this->getValue()); if ($this->getEnableViewModeLink() && trim($v) != '') { $this->setViewModeLink('mailto:' . $v); } return parent::_getViewValue(); }