Hi,
I've used TCPDF action, with a customized file name:
What should I put in the attachment field in the email action?
This is the debugger with avalaible fields:
I cannot make it works. Any advise?
Thanks!
I've used TCPDF action, with a customized file name:
<?php$form->data['pdf_file_name'] = 'Preventivo_IX_per'.'_'.$form->data['name'].'_'.date("Y-m-d_h:i:s");?>
What should I put in the attachment field in the email action?
This is the debugger with avalaible fields:
[button-configuratore] => Calcola [pdf_file_name] => Preventivo_IX_per_Miriam Monza_2018-08-27_06:49:09 [preventivo] => Preventivo_IX_per_Miriam Monza_2018-08-27_06:49:09.pdf [pdf_link] => https://www.arxivar.it/components/com_chronoforms5/chronoforms/pdfs/config-IX-v5-fork1aggior13conARXFE/Preventivo_IX_per_Miriam Monza_2018-08-27_06:49:09.pdf [pdf_link2] => <a href='https://www.arxivar.it/components/com_chronoforms5/chronoforms/pdfs/config-IX-v5-fork1aggior13conARXFE/Preventivo_IX_per_Miriam Monza_2018-08-27_06:49:09.pdf' >scarica</a> )
Array( [preventivo] => Array ( [name] => Preventivo_IX_per_Miriam Monza_2018-08-27_06:49:09.pdf [path] => /home/arxivar.it/public_html/components/com_chronoforms5/chronoforms/pdfs/config-IX-v5-fork1aggior13conARXFE/Preventivo_IX_per_Miriam Monza_2018-08-27_06:49:09.pdf [size] => 0 [link] => /home/arxivar.it/public_html/components/com_chronoforms5/chronoforms/pdfs/config-IX-v5-fork1aggior13conARXFE/Preventivo_IX_per_Miriam Monza_2018-08-27_06:49:09.pdf ))
I cannot make it works. Any advise?
Thanks!