Forum


Calc Builder Support

Calc Builder support
Forums
No se permite escribir sin estar logado. Por favor, login

Create a simple form 28.10.2011 02:43

I need to use multiple options to be sum.

Option1:
White = 100
Black = 200
Blue = 300

Option2:
Orange = 100
Purple = 200
Yellow = 300

The user choose the 2 options and the values are sum. Ex.:

Option1: White (100)
Option2: Purple (200)

The sum will be 300.

How would be this code, please?

http://imageshack.us/photo/my-images/28/giffyv.gif/

Edited by billwide - 28.10.2011 06:34

Re: Create a simple form 28.10.2011 10:48

Hello,
for your example, you would need to create two fields, typed option list, and fill in the texts and values for each option. As the values you want to sum are already loaded at your options, you only need to get the two answers and make the sum. We suggest to download from calcbuilder downloads page

http://components.moonsoft.es/downloadcalcbuilder

two examples with working calculators and check the code you need:
Estimate business cards: you can see how to configure option lists and get the answers.
Simple sum: shows the code needed to sum the two values introduced by user.


Hope this helps
Moonsoft Team
Moonsoft Team
www.moonsoft.es

Re: Create a simple form 31.10.2011 18:15

Hello,
for your example, you would need to create two fields, typed option list, and fill in the texts and values for each option. As the values you want to sum are already loaded at your options, you only need to get the two answers and make the sum. We suggest to download from calcbuilder downloads page

http://components.moonsoft.es/downloadcalcbuilder

two examples with working calculators and check the code you need:
Estimate business cards: you can see how to configure option lists and get the answers.
Simple sum: shows the code needed to sum the two values introduced by user.

Hope this helps
Moonsoft Team


I follow that models and I can use one of them to create my calc. Thanks.
Are you satisfied with our products/services/support?
Please help us to keep improving, add a review at  joomla extensions site and  magento connect
FaLang translation system by Faboba

Lo que nuestros clientes opinan de nosotros