Hi,
I have some questions about TCPDF v5 on CF5 / J2.5.
I have a form that have some custom rule, one barcode generator, a DB SAVE, email send with barcode, and a display msg (i display a custom code with barcode img src and a part of "display msg"). And for now it is all ok. Put data in the form, submit, save on DB, send email with my graphics and barcode img, and then display a thanks msg with the barcode (from custom code). All ok.
Now I install TCPDF because i want to attach one pdf with form-data and barcode to the email, so I set to SAVE ON SERVER, i try to set in content of pdf some words (for a try), but:
1) when i submit the form, the explorer download the pdf but all still locked on form (don't display my thanks message). I try to put TCPDF at last action, at first action, everywhere, but nothing to do, the page remain stopped in form. (I set SAVE ON SERVER)
2) if I open the downlaoded PDF, the content text is the customs code and no the "display msg" (and no the content set on options of TCPDF). I have a barcode in the customs code that, without TCPDF INSTALL ACTION, i can see in Thanks Msg (it's like a img src <img src='".JURI::base() ."components/com_chronoforms5/includes/barcode.php?barcode={barcodefull}&width=320&height=80' />";), but in downloaded PDF i can't see any the img
Someone can gently help me? Thanks
I have some questions about TCPDF v5 on CF5 / J2.5.
I have a form that have some custom rule, one barcode generator, a DB SAVE, email send with barcode, and a display msg (i display a custom code with barcode img src and a part of "display msg"). And for now it is all ok. Put data in the form, submit, save on DB, send email with my graphics and barcode img, and then display a thanks msg with the barcode (from custom code). All ok.
Now I install TCPDF because i want to attach one pdf with form-data and barcode to the email, so I set to SAVE ON SERVER, i try to set in content of pdf some words (for a try), but:
1) when i submit the form, the explorer download the pdf but all still locked on form (don't display my thanks message). I try to put TCPDF at last action, at first action, everywhere, but nothing to do, the page remain stopped in form. (I set SAVE ON SERVER)
2) if I open the downlaoded PDF, the content text is the customs code and no the "display msg" (and no the content set on options of TCPDF). I have a barcode in the customs code that, without TCPDF INSTALL ACTION, i can see in Thanks Msg (it's like a img src <img src='".JURI::base() ."components/com_chronoforms5/includes/barcode.php?barcode={barcodefull}&width=320&height=80' />";), but in downloaded PDF i can't see any the img
Someone can gently help me? Thanks