Hi,
as read on this faq : https://www.chronoengine.com/faqs/61-cfv4/cfv4-tutorials/4133-how-can-i-create-a-pdf-including-form-results.html
1) I've put a custom code before tcpdf action with this code:
2) I've set the tcpdf action:

3) I've created put a custom code after tcpdf action with this code:

Any advice?
Thanks!
as read on this faq : https://www.chronoengine.com/faqs/61-cfv4/cfv4-tutorials/4133-how-can-i-create-a-pdf-including-form-results.html
1) I've put a custom code before tcpdf action with this code:
<?php
$form->data['pdf_file_name'] = 'Preventivo_IX_per'.'_'.$form->data['name'].'_'.date("Y-m-d_h:i:s");
?>
2) I've set the tcpdf action:

3) I've created put a custom code after tcpdf action with this code:
<?phpERROR: The problem is that the debugger show the field pdf_link empty:
$form->data['pdf_link'] = "<a href='{$form->files['cf_pdf_file']['link']}' >Click here</a>";
?>

Any advice?
Thanks!