Forum
Calc Builder Support
Calc Builder supportForums
No se permite escribir sin estar logado. Por favor, login
Simple Grid Calculator 08.02.2013 17:40
I want to generate a cost calculator for roofing.
1m x 1m
1m x 2m
2m x 2m
2m x 3m
etc etc
Can this be done with two drop downs each with 1m, 2m, 3m, 4m etc and then calculate a price depending on the user input?
The prices would be supplied in a grid format?
Cheers
1m x 1m
1m x 2m
2m x 2m
2m x 3m
etc etc
Can this be done with two drop downs each with 1m, 2m, 3m, 4m etc and then calculate a price depending on the user input?
The prices would be supplied in a grid format?
Cheers
Re: Simple Grid Calculator 09.02.2013 11:32
Hello,
yes, you could configure your calculator using a couple of option lists (variables named option1, and option2, for ex.), and build a price matrix with all combinations, if you fill the first column of the matrix with values of option1, and the first row with values of option2, you could use the matrix to recover the prices at your code this way:
$result=$nameofyourmatrix[$option1][$option2];
Hope this helps, best regards
Moonsoft Team
www.moonsoft.es
yes, you could configure your calculator using a couple of option lists (variables named option1, and option2, for ex.), and build a price matrix with all combinations, if you fill the first column of the matrix with values of option1, and the first row with values of option2, you could use the matrix to recover the prices at your code this way:
$result=$nameofyourmatrix[$option1][$option2];
Hope this helps, best regards
Moonsoft Team
www.moonsoft.es