public function Export() { if (\Form\Settings::$PopulateCheckboxIndex == true) { $this->value = (bool) $this->GetValue(); } if (!empty($this->GetValue()) || $this->GetValue() === FALSE) { return parent::Export(); } return null; }
public function __construct($name, $value = "", $type = "text") { parent::__construct($name, $value); $this->SetType($type); }