Avatar

Correct answer by
Community Advisor

Hello @nganev 

 

You can first create a div element with some id tagged to it. Then populate all your data in the div element with the personalization. Then you can use the below code to create a button and that code will generate a downloadable PDF of the content populated in the DIV tag.

 

Here is the working demo

https://jsfiddle.net/damithz/Lo7kznLu/

 

Thanks,

Manoj

View solution in original post