Hi,
the answer will most certainly be around somewhere, but I couldn't find it sofar.
One of my form variables denotes a number and in the Thankyou message I would like to use this number and present the result to the user. In former days I wrote something like:
This no longer works in ChronoForms5/Joomla 3.6.2/PHP7.
How should I do this nowadays?
Regards,
Peter
the answer will most certainly be around somewhere, but I couldn't find it sofar.
One of my form variables denotes a number and in the Thankyou message I would like to use this number and present the result to the user. In former days I wrote something like:
Please pay us
<?php
$count = Jrequest::getVar(‘number’,‘’, ‘post’);
$total = $count * 12.5;
echo ‘€ ’, number_format($total, 2);
?>
for your order.
This no longer works in ChronoForms5/Joomla 3.6.2/PHP7.
How should I do this nowadays?
Regards,
Peter