Hello,
I wanted to ask if it with chrono forms and tcpdf also is possible to write text in a particular PDF file. So I have a crafted PDF file and want to expand this file with the entries in the form.
Perhaps with a script in the "Custom Code" or directly in the Content box of TCPDF action?
Just as an example:
// PDF generieren
$pdf = new FPDI();
// Vorlage laden
$pdf->setSourceFile('../tcpdf/tcpdf/images/meine.pdf');
$tplidx = $pdf->ImportPage(1);
$pdf->AddPage();
$pdf->useTemplate($tplidx,0,0,0);
// Generierte zweite Seite
$pdf->SetAutoPageBreak(true);
// Linienfarbe auf Blau einstellen
$pdf->SetDrawColor(184, 204, 228);
$pdf->SetFillColor(219, 229, 241);
// Linienbreite einstellen, 0.5 mm
$pdf->SetLineWidth(0.2);
// Block links
$pdf->SetY(200);
$pdf->SetFont('Arial','',8);
$pdf->MultiCell(60,3,'Hier steht ein Text.',0);
$pdf->Cell(60,3,'',0,1);
$pdf->SetFont('Arial','B');
$pdf->Cell(60,5,'Hier steht ein Text','LTR',1,'C',1);
.....
LG
F.