Calc Builder Support

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

Configuring exit layout to display only selected calculations 22.11.2013 20:52

I have created a Calculator, which provides you the number of units of product(s) you require to complete a job. To do this I have multiple Yes/No fields, when selected the answer is given. The problem I am having is I do not want the results page to display all the products, just the selected ones.

For example:

Product A: 20 units
Product B: n/a
Product C: 30 units
Product D: n/a

So I want to remove product B and D from the results page. What can I Do?

Edited by moon_1312 - 22.11.2013 20:53

Re: Configuring exit layout to display only selected calculations 24.11.2013 09:46

you can build conditional output depending on user input. To achive this you'll need an 'if' structure:

$result="Your result when condition is met";
$result="Your result when condition is NOT met";

so you can print ##result## at your exit layout. For your case, the condition is when checkbox is selected (replace 'yourcheckbox' for your field name):

$result="Checkbox selected";

$result="Checkbox not selected";

You have a video tutorial regarding this function here:

(Conditional output)

that you can also check to have an example of the steps needed.

Moonsoft Team

Re: Configuring exit layout to display only selected calculations 25.11.2013 20:10

Its working perfectly.

Thank you,

Edited by moon_1312 - 25.11.2013 20:11
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