## QuickForm3 calculations problem

This forum is for general questions about extensions for Joomla! 3.x.

Moderators: pe7er, General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
derost
Joomla! Intern
Posts: 55
Joined: Thu Feb 16, 2012 7:40 pm

### QuickForm3 calculations problem

Hello,
I am using QuickForms3 to create a calculator that will display heating costs. The link to the page (site still under development) is here: https://new.patioeg.com/index.php/calcu ... hroom-test

As you can see there are errors being shown. The required calculations are:
Total cost per hour=((Total BTU/1000000)*46)*(Cost of tank/15)
Total weekly cost=Total cost per hour*Hours per week
Total Yearly cost=Total weekly cost*Weeks per year

The equation I have put into multipl tab is:
5.0={5.7}+{5.8}+{5.9}+{5.10}+{5.11};
5.20=(({5.0}/1000000)*46)*({5.12}/15);
5.15={5.20}*{5.13};
5.16={5.15}{5.14}

The Total BTU {5.0} is being calculated, but then it is not pulling that total over into the next calculation {5.20}.

For the user input fields of Tank Cost{5.12}, Hours{5.13}, and Weeks{5.14} the "math" value is set to V.

Any help would be greatly appreciated. Thanks very much.

CDXXonline
Joomla! Enthusiast
Posts: 227
Joined: Fri Oct 13, 2017 8:00 pm

### Re: QuickForm3 calculations problem

Hopefully you got this figured out, likely not a lot of people here are familiar with the extension. I can't help but think php would be a better way to calculate that using variables you can pass to the next set of variables. You should check and see if they have a forum.