Multipage Form with TCPDF?

How to use TCPDF with a multipage ChronoForms form.

Overview

The issue occurs when using the TCPDF action on a multipage form embedded via the CF plugin, causing a fatal PHP error due to a missing class.
To resolve this, avoid embedding the form with the plugin shortcode. Instead, directly assign the multipage form to a Joomla menu item for proper TCPDF functionality.

Answered
le le5 25 Jun, 2014
I first tested TCPDF with a simple form.
And everything works like it should.

Now I tried the same simple form over a multipage Form (page1,page2,submit).
Where ever I use the TCPDF Event (doesn't matter if page2 or submit), I get a white page.

Is it possible to use TCPDF on multipage forms or not?
And if yes, any advise where the problem could be?

Thanks Pawel
Gr GreyHead 25 Jun, 2014
Hi Pawel,

A completely blank page is usually a sign of a PHP Error. Please check this FAQ to see if that shows you what the problem is.

Bob
le le5 25 Jun, 2014
Hi Bob

Yep... forgot about this...

I see following error:
Fatal error: Class 'JParameter' not found in D:\www\xxx.xxxxxxx.xx\httpdocs\administrator\components\com_chronoforms\form_actions\tcpdf\tcpdf.php on line 15 


Any advise?
And did you try ones a multipage with tcpdf? Because as I said, with a simple form it works.

Pawel
le le5 25 Jun, 2014
Answer
Ok... found out that you can use tcpdf with a multipage under following circumstances.

You must assign the form directly to them menu.

If you use the chronoforms plugin {chronoforms}my_form{/chronoforms} mode, it will fail, with error above!!!!
This topic is locked and no more replies can be posted.