You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2019/02/02 15:39:00 UTC

[jira] [Commented] (PDFBOX-4454) PDFmergerUtility is changing the names of form fields to dummyField#X when fields have the same name.

    [ https://issues.apache.org/jira/browse/PDFBOX-4454?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16759068#comment-16759068 ] 

Tilman Hausherr commented on PDFBOX-4454:
-----------------------------------------

Merging these is tricky because we can't have two fields with the same name (if we do, one of the two would simply be ignored) and just because they have the same name doesn't mean they're the same... what should be done if they have different values, or different properties?

Is the merged file still to be edited manually or by a computer? And if so, why not create a file that has all needed, or are there too many combinations?

> PDFmergerUtility is changing the names of form fields to dummyField#X when fields have the same name.
> -----------------------------------------------------------------------------------------------------
>
>                 Key: PDFBOX-4454
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4454
>             Project: PDFBox
>          Issue Type: New Feature
>          Components: AcroForm
>    Affects Versions: 2.0.13
>            Reporter: Seth Freeman
>            Priority: Critical
>              Labels: PDFMergerUtility
>
>  
> The merger renaming form fields that have the same name is a feature that should be optional. In my situation, I need all the fields to keep their pre-merge names.
> In my case, we are using 3 different medical forms that intentionally all have fields with the same name. In Acrobat merging would set the fields output equal to each other. I'm working on a project to automate filling these forms with information provided by the patient. Right now merging with PDFbox breaks this.
> My current workaround is to just fill each form separately then combine them, but this makes edits later down the line needlessly complex. 
> The simplest solution would be to have options to maintain the names.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org