public function forTemplate() { $this->labelField->setAttribute("for", $this->checkboxField->ID()); return parent::forTemplate(); }