Enforcing Unique Descriptions to Forms
We are using annotated forms within an application and are attempting to create a function that will allow us to modify a PDF form (in Acrobat) and then re-attach the mappings we're using from our application to the appropriate annotated field (we call them mappings). The initial challenge for us was that we had been creating the mapping using the annotation-id however, this identifier changes on fields even when very minor adjustments are made to it, defeating our goal. As a workaround, we believe the best solution for us is to begin mapping our application to the annotated field descriptions instead of the ids. This now presents us with a unique challenge in that if I create a PDF form with two fields called "Name", Acrobat has logic to rename the duplicate as "Name#2", except when I save the form and look at it programatically, I see "Name" as both descriptions (removing the uniqueness). Is there any way to enforce unique descriptions within Acrobat so that it doesn't do this magic addition of #2 and instead requires the user to use a different name?
