Forums

TCPDF and V5

jawi 22 Apr, 2015
I have no idea how to use TCPDF. I followed the instructions here https://www.chronoengine.com/faqs/61-cfv4/cfv4-tutorials/4133-how-can-i-create-a-pdf-including-form-results.html but it doesn't seem to work with V5. I uploaded the zip file, but that is as far as I got.

Thank you!
GreyHead 22 Apr, 2015
Answer
1 Likes
Hi Jawi,

a. Get the TCPDF action for CFv5 from the Downloads page here.

b. Use the Install Action icon in the Forms Manager to upload and install the action. You should then see it in the Data Management actions group in the Setup tab of the Form Editor.

c. Drag a copy into the On Submit event of your form as the last action.

d. Edit the action and put something in the Contents box at the bottom of Basic tab. A quick way to do this is to copy and paste an Email template from the same form.

e. Save and test. Then edit as needed.

Note that if you have the View set to anything other than Save to Server this must be the last action as it takes over control of the process from ChronoForms so CF can't do anything else.

Bob
jawi 22 Apr, 2015
Thanks so much Bob! Much appreciated!
amheng5 07 Aug, 2015
I'm trying to install via your instructions; however once I click "install action" i get a blank screen. I go go to component and I don't see TCPDF in the DB management section. Please advise. I'm using Chronoform V5. Thanks
GreyHead 07 Aug, 2015
Hi amheng5,

Please set the site Error Reporting to Maximum temporarily, then try installing and see if you get a more helpful error message.

Bob
amheng5 07 Aug, 2015
got this message:

Fatal error: Class 'ZipArchive' not found in /home/ltespta0/public_html/administrator/components/com_chronoforms5/chronoforms/chronoforms.php on line 506. I don't see a subfolder in my joomla set for ltespta0. We use GoDaddy.
GreyHead 08 Aug, 2015
Hi amheng5,

I can only guess that Zip isn't enabled on your site. I just downloaded and installed on a Joomla! 3.4.3 site with no errors.

You can install manually by unzipping the file and copying the tcpdf folder inside to /administrator/components/com_chronoforms5/chronoforms/actions/

Bob
This topic is locked and no more replies can be posted.