Hi,
I have successfully customize the file name of the generated pdf, thanks to faq : https://www.chronoengine.com/forums/posts/t100266/include-field-value-in-tcpdf-file-name
resulting this:
But I cannot do the same with the TITLE of the document.
I've tried to put a custom code before the action with this code:
But it is not working.
In the same way I've tried to customize the SUBJECT. But still no luck.
Any advice?
Thanks!
I have successfully customize the file name of the generated pdf, thanks to faq : https://www.chronoengine.com/forums/posts/t100266/include-field-value-in-tcpdf-file-name
resulting this:
<?php$form->data['pdf_file_name'] = $form->data['firstname'].'_'.$form->data['lastname'].'_whateverelse';?>
But I cannot do the same with the TITLE of the document.
I've tried to put a custom code before the action with this code:
<?php$form->data['pdf_file_title'] = $form->data['firstname'].'_'.$form->data['lastname'].'_whateverelse';?>
But it is not working.
In the same way I've tried to customize the SUBJECT. But still no luck.
<?php$form->data['pdf_file_subject'] = $form->data['firstname'].'_'.$form->data['lastname'].'_whateverelse';?>
Any advice?
Thanks!
This topic is locked and no more replies can be posted.