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.
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>
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Could you please provide a video with a tutorial? Thank you
the latest v8 update has demo form for TCPDF
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Hi! Can you add custom php code to TCpdf ? thanks
I tried but it's not working like chronoform 5 ? Why?
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
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!
you can return multiple vars inside an array:
return ["var1" => "111", "var2" => "222"];
then use this syntax in tcpdf:
{var:php_name.var1}
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
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}
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.