/** * add extra HTML before the form on the "Add entry" page * Note: this method doesn't seem to be used anywhere !! */ function print_before_form() { if ($this->is_viewable) { if ($this->subfield) { return $this->subfield->print_before_form(); } else { return parent::print_before_form(); } } }