Merge w/field updates

Merge w/field updates

Forum member · Mar 28, 2008
I am a nugget. I am merging numerous pdf files that have fields on them. Some of the files have some fields that share the same name but require data specific to that particular file. 1 - I am able to create a MergeDocument() and update the fields with data. I can create a PdfDocument() and merge that document to the MergeDocument() but I cannot access the fields on the PdfDocument() file either before or after the merge. 2 - Do merged files need to have unique field names? In other words, does updating Field.Amount on one file update all Field.Amount fields throughout the merged file? Regards!

Re: Merge w/field updates

Support · Mar 31, 2008
Hello, Are you getting any error when accessing the form fields. You will have to use the correct full name of the form field in order to access the field. You can see the full names using the FormFieldReader example downloaded with the product download using your PDF as a template. The form field names in a PDF should be unique. If you are merging different PDFs having the fields with same name, the resultant PDF will have the modified field names. The names will be appended with some numbers. You can also reorganize the form fields without appending these numbers. You can append some text to the names by using the MergeOptions class. You can refer to the Filling Reorganized Form Fields topic on our help documentation. Thanks, ceTe Software Support Team.