How to do calculations on a variable?

Tef_71 29 May, 2018
Hi,

In v5 I was able to put PHP code in email, no longer.

I need to do a simple multiplication of {data:price} and put the result in an email. Somebody to help me?

Thanks in advance.
GreyHead 30 May, 2018
Hi Tef_71,

Please use a PHP action before the Email action and save the result to the form data. Please see page 34 of the CFv6 manual. You can then include the new form data item in the Email template.

Bob
Tef_71 30 May, 2018
Thanks a lot GreyHead, your answer was very usefull.
This topic is locked and no more replies can be posted.