TCPDF Action

Access form data in TCPDF action.

Overview

The issue occurs when trying to retrieve form field values or action data using standard CF methods within a PHP action before the TCPDF action.
Instead of retrieving data within the PHP action, directly return the value from the PHP action and reference it in the TCPDF template using the correct placeholder syntax.

Answered
di directivemsp 03 Dec, 2020
TCPDF Action  image 1i am using tcpdf action in chronoforms, i need to pre-process data using PHP, i tried using php action

for accessing field value tried this : $this->data("field_name", "default value");
for accessing function/Actions data tried this : $this->get("var_name", "default");

both of these are not working

print_r( $this->data("client_information_us_mail", "default value") );
print_r( $this->get("save_data5", "default") );

these are not working form me

please check once and let me know
Max_admin Max_admin 03 Dec, 2020
try to return the value then use it in TCPDF:
{var:php_name}
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
di directivemsp 04 Dec, 2020
i have already tried this, it’s not working for me.
Max_admin Max_admin 19 Dec, 2020
Answer
can you try this in v7?
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Post a Reply