Matching form fields with PdfDocument and MergeDocument

Matching form fields with PdfDocument and MergeDocument

Forum member · Nov 6, 2009
In cases when I need to use both documents so I can access all a form field's information, what is the recommended way to make sure I can find the matching form field inside a PdfDocument for a field inside a MergeDocument? I already tested using the index, but the form fields do not occur in the same order even when a MergeDocument is constructed from a PdfDocument.

Re: Matching form fields with PdfDocument and MergeDocument

Support · Nov 6, 2009
Hello, The indexing would occur in the order the form fields were added. It is recommended that you refer to the form fields by their name in both cases and that will ensure that the results you get are for the same form field. Thanks, ceTe Software Support Team

Re: Matching form fields with PdfDocument and MergeDocument

Forum member · Nov 6, 2009
Except Acrobat allows fields to have the same name. What happens in that case?

Re: Matching form fields with PdfDocument and MergeDocument

Support · Nov 6, 2009
Hello, When the PDF document with form fields that have the same name is merged using our product, the field names are renamed automatically by appending (1), (2) and so on to the field name. If youar merging the same PDF document several times, then you can reorganize the form field names by using any desired custom string. Please click the following link that shows Filling Reorganized Acro Form Fields . Thanks, ceTe Software Support Team