Hi,
I have problem with putting custom generated variable with custom string in to email template.
Simply the call of {test} shows nothing in email.
My variable is putted in to $form->data['test'] = 'test'; on custom code in On submit section, and it shows on pring_r($form->data), but not in email template.
I have no idea what is wrong ....😢
Please help 😟
I have CF 4RC on J2.5
and another customcode after email call
result
I have problem with putting custom generated variable with custom string in to email template.
Simply the call of {test} shows nothing in email.
My variable is putted in to $form->data['test'] = 'test'; on custom code in On submit section, and it shows on pring_r($form->data), but not in email template.
I have no idea what is wrong ....😢
Please help 😟
I have CF 4RC on J2.5
/* On sumbmit -> Custom code before Email */
<?
$form->data['test'] = 'test';
?>
and another customcode after email call
<? print_r($form->data); ?>
result
Array
(
)
Array ( [chronoform] => zgloszenie [event] => submit [Itemid] => 508 [option] => com_k2 [view] => item [layout] => item [83ba85e2ce1244f1f6ce1b272c4c4688] => 1 [test] => test )