CalcBuilder Forum

empty spaces appear when exporting to PDF

User moon_1312 2013-11-29 21:51:59


I have a working calculator in which I have multiple 'yes/no' input fields. If the input field is 'yes' the answer is calculated, otherwise the default is "" allowing the next chosen field to be right under it, like a list.

This works fine when I receive the results in the modal window, however when I export it to PDF there are spaces created in-between the headings/results and I have not been able to remove them. The number of spaces do not correlate to the number of "" in between the fields. Some don't have spaces some do. The output code is identical so I don't see any problems there.

Any help would be greatly appreciated.

Thanks in advance.


Moonsoft support 2013-12-01 12:12:13

maybe you have any style applying that could be adding margins or paddings to certain sections/tags. We suggest to disable for a while 'import bootstrap classes', and/or create your own pdf layout using print preferences HTML before/after calc results and disable the automatic including input or output. You could set a simpler layout based on standard tables for ex, to ensure everything is lined up when pdf shows the output.

Hope this helps, 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!