Hello.
I was wondering if its possible to receive the information of the forms in a pdf document, with the same format of the actual form.
If yes, could you please give me instructions on how to do it.
Thank you.
I was wondering if its possible to receive the information of the forms in a pdf document, with the same format of the actual form.
If yes, could you please give me instructions on how to do it.
Thank you.
The TCPDF action will let you use an HTML template for the output file, build the HTML and use the data shortcodes to get the data filled in the form:
<h1>{data:name}</h1>
Could you please provide a video with a tutorial? Thank you
the latest v8 update has demo form for TCPDF
Hi! Can you add custom php code to TCpdf ? thanks
I tried but it's not working like chronoform 5 ? Why?
I tried but it's not working like chronoform 5 ? Why?
You can use a PHP action then call the results in your TCPDF template, here is how:
How to use PHP data anywhere in your form - ChronoForms8
How to use PHP data anywhere in your form - ChronoForms8
Ok thanks, but my pdf has many "vars", so i have to create those many "vars", take some time, would it better and easier just put php to the tcpdf ? but it's ok,
Thanks for your help!
Thanks for your help!
you can return multiple vars inside an array:
then use this syntax in tcpdf:
return ["var1" => "111", "var2" => "222"];
then use this syntax in tcpdf:
{var:php_name.var1}
another solution in v8.0.21 is to use an HTML view with PHP behavior enabled, build your output with that HTML view, then disable it using the "Wizard Settings" behavior then call it inside your TCPDF content using:
{view.output:html_view_name}
You need to login to be able to post a reply.