CalcBuilder Forum

Configuration problem

User visuellementweb 2012-01-04 06:04:13

Bonjour,

J'ai acheté le composant "calc builder" il y a une semaine environ. Depuis j'ai jamais réussi à faire de calcule. Poutant, le calcule que je souhaite faire est très simple.

Exemple :
Départ : Paris
Arrivé : New york
Nombre de personne : 2
Prix : 1000 €

Je voudrais mettre en place plusieurs destinations. Je ne comprends pas le principe de fonctionne de "calc builder". J'ai générer la matrix de sortie j'ai eu page d'erreur à chaque fois. Du coup, j'ai tout effacé et maintenant je ne sais pas comment m'y prendre.

J'ai fouillé sur le forum mais rien à faire.

Pouvez-vous m'aider svp ?

Voici la page : http://www.cabo-transports.fr/tarifs

Moonsoft support 2012-01-04 08:38:20

Hello,
yes, your calculator can be buillt with a simple configuration at calcbuilder. We suggest to start downloading a set of working calculators from this page:

http://components.moonsoft.es/downloadcalcbuilder

If you import and publish any of them, you can discard any problem with your installation, and at the same time follow the right steps to configure the calculators. The first one 'simple steps' will show you how to make a simple operation and create the output matrix.

For your fields 'From' and 'Arrival', you should create an option list with values available, you can check how values are recovered at code section with 'Estimate business card prices' example. And if you are going to have a table with all posible values of the combinations of the two cities, you should create a non-output matrix. You can also find out how to get the values from it with the example 'Using a non-output matrix'.

And finally, in order to format output price, you can check '4 basic operations & formatting numbers', to make a custom format of your result when showing the output.

So to configure your calculator you should create 3 input fields (option list,option list and number), then make the calculations you need with the values and put the result in a variable (let's say $price), and finally create an output matrix with a cell containing $price. That should work for you.

Hope this helps.

Best regards,
Moonsoft Team

...
Support/development 40 hours

With the peace of mind of having a professional team at your service (20% discount)

Buy now!
...
Support/development 10 hours

Get a bigger amount of hours for more complex tasks and get a 10% discount

Buy now!