Hi, we have a PDF with prefilled data as a normal PDF file, is there anyway to convert this file to an acroform PDF. So that I can read the form fields and replace using Dynamic PDF.
Our use case is to add the current date to a form field, but the pdf document form fields count is 0 in PDF file while accessing using DynamicPDF.
Thanks,
Rob
Convert to Acroform
Re: Convert to Acroform
Support · Dec 2, 2020Hi Rob,
You can easily add a form field to the PDF and set its value using a TextField page element. Here is a link to the documentation:
TextField
TextField Page Element
The example in the docs shows how to add a TextField to a new PDF, but if you use a MergeDocument instead of Document, you can add the form field to a page on an existing PDF instead.
Thanks,
ceTe Software Support Team
Re: Convert to Acroform
Forum member · Dec 3, 2020Thanks for that info! In our case, there are multiple fields there on the pdf and since the file is not in Acroform format, we are unable to identify the x, y coordinates and add new textfield to the exact position.
Thanks,
Rob
Re: Convert to Acroform
Support · Dec 4, 2020Hi Rob,
You can add a LayoutGrid page element to the PDF document pages to visually find the the coordinates you'd need to add form fields. Please review this LayoutGid topic
for details.
Thanks,
ceTe Software Support Team