lazysheepmedia
Member
Folks
I have a dropdown with the values of 0 and 25 and a cascading element that displays the cost from a database join element - all works as expected - I want the value from the drop down and the CDD to be added together in a calc element. The code I have is as below but is returns ?0.00
Can someone help please?
I have a dropdown with the values of 0 and 25 and a cascading element that displays the cost from a database join element - all works as expected - I want the value from the drop down and the CDD to be added together in a calc element. The code I have is as below but is returns ?0.00
PHP:
$x=('{bookings___Furnished}' + '{bookings___Inventory_Cost}');
return '?'.number_format($x,2);
Can someone help please?