CalcBuilder Forum

Overtake calculation sum from one form to another

User moon_1441 2014-05-16 15:19:46

Dear Support!

I would like to know if there is a solution to overtake the calculated price from one form to another form - the final calculated price can be the initial price for the second form.

This would be a very good option for me.

Thank you for your help.


Moonsoft support 2014-05-16 16:23:18


You could set first calculator results on second one using PHP/Joomla session.

First calculator:

$session = JFactory::getSession();
$session->set( 'myresult', $VAR_WITH_MY_RESULT );

Second calculator:

$session = JFactory::getSession();
$VAR_WITH_MY_RESULT=$session->get( 'myresult');

Obviously, first calculator should be executed before second calculator.

Hope this helps. Regards,

List Manager

Build different lists for your site

Buy now!

Create dynamic calculators

Buy now!