CalcBuilder Forum

Pass variable to pdf name

User moon_955 2013-03-23 23:34:20

Hi, is it possible to pass a variable to the name of the generated pdf?

Moonsoft support 2013-03-25 09:22:49

the pdf is exported using library mpdf, and the output is generated with default name. It doesn't use any variable to build the name of the file. If you want to change that function, maybe you could use some parameters of the 'output' mpdf function. Here the information:

and here the source file where that function is called. Maybe you can try to modify this last line in order to change default output to an specific (or dynamic) name:


Hope this helps, regards

List Manager

Build different lists for your site

Buy now!
Support/development 40 hours

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

Buy now!