admin管理员组

文章数量:1242851

I want an editable textarea after all my content in a TCPDF document.

With the below command, I added this textarea, but there comes no new page. If I set the rows to a higher number, the box is getting bigger, but still no new page.

$content .= '<textarea cols="80" rows="16" name="text2"></textarea>';

Does there exists a textarea which I can make bigger or smaller like I want?

my footer is this:

public function Footer() {
    if ($this->last_page_flag) {
        $this->SetY(-15);
        $this->SetFont('helvetica', 'N', 11);

        $text = "Seite ".$this->getAliasNumPage().'/'.$this->getAliasNbPages();
        $this->Cell(0, 5, "Unterschrift:                                Druckdatum: ".date("d.m.Y H:m:s")."          ".$text, 0, false, 'L', 0, '', 0, false, 'T', 'M');
    } else {
        $this->SetY(-15);
        $this->SetX(-114);
        $this->SetFont('helvetica', 'N', 11);
        $text = "Seite ".$this->getAliasNumPage().'/'.$this->getAliasNbPages()."";
        $this->Cell(115, 5, $text, 0, false, 'R', 0, '', 0, false, 'T', 'M');
    }
}

If I only set text the page break runs fine. Only the textareas are the problems.

本文标签: phpTCPDF textarea overlapping FooterStack Overflow