prepopulate pdf with dynamicpdf

prepopulate pdf with dynamicpdf

Forum member · Jul 8, 2011
Hi i am using dynamic pdf api to prepopulate my PDF forms. But when i draw the bytes out of it and render to browser, display is screwed because of setting values. My code sample.. MergeDocument doc=new MergeDocument(filepath, new MergeOptions()true); doc.getForm().getFields().getFormField("fieldname").setValue(someValueString); ..... doc.draw(); I dont see any error or exception. Please advise.

Re: prepopulate pdf with dynamicpdf

Support · Jul 8, 2011
Hello, Can you please send over the input PDF document and the output by saving it to disk using Draw method to our support team at: [^a|mailto:support@cete.com|opennewiwndow|support@cete.com^]? Also tell us exactly what you mean by " display is screwed because of setting values" with respect to the output PDF document. This information will help us to look into it further. Thanks, ceTe Software Support Team.

Re: prepopulate pdf with dynamicpdf

Forum member · Jul 8, 2011
I use setValue() method to fill some fields in the form. and output pdf has its fields messedup. like with some fields dont populate well or button fields(preexisting on pdf) loose their label. if i dont prepopulate using setValue() but buttons are fine. so it happens whenever i try to write onto pdf using api.

Re: prepopulate pdf with dynamicpdf

Support · Jul 8, 2011
Hello, We would need to be able to reproduce this issue on our end in order to find a resolution. Please send the original PDF form as well as the final PDF output that is messed up to [^a|mailto:support@cete.com|opennewiwndow|support@cete.com^] so we can recreate this issue on our end. Thanks, ceTe Software Support Team.