CalcBuilder Forum

Conditional Output

User nashm 2017-06-04 11:01:09

Nevertheless, I do have another question.
In my Exit Layout, I have various results that are based upon user's input. In the code section, I have "if / else if / else" function that controls conditional output results. Everything works fine, I get exact results that I want. The problem is - if I export to excel, all result options get exported, not just a correct result from calculation. Could you please help me solve this issue?

Best regards!

Moonsoft support 2017-06-05 16:30:00

Hi,
the output you will get at the excel or pdf export will depend on the configuration you have set at your 'print preferences' tab. There you can choose if you will export the input form, and/or the outputs, and/or any other custom content including intermediate values. If you want to show exactly the same content you have for your normal output section, just enable the 'include output' switch without any other additional content. This way both the output at the page and the output at the export should be identical. If somehow you get a different result you can share your calculator at your helpdesk and we'll let you know how to configure.

Thanks, regards

...
Support/development 10 hours

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

Buy now!
...
Support/development 40 hours

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

Buy now!