New added FormField appears second time in PDF

Hi,
i’m using

Aspose.Pdf for .NET

I create a PDF-File and when I add a
FormFields to the PDF some of the Formfields appear a second time in the Document
on another place in the PDF.

Code snippet:

string fieldname = string.Format("{0}_note", data.UniquieFieldName);
cell = row.Cells.Add();
cell.ColumnsSpan = 3;
FormField notefield = new Aspose.Pdf.Generator.FormField();
notefield.FormFieldType = Aspose.Pdf.Generator.FormFieldType.Text;
notefield.FieldName = fieldname;
cell.Paragraphs.Add(notefield);



What can I do

regards,
Olaf

Hi Olaf,

Thanks for your interest in our products and sharing the sample source code with us. I tried to replicate the issue at our end but unable to produce it. However, to exactly replicate your issue at our end, we would appreciate it if you can create a sample application with your template files and post here to show us the issue. This will help us regenerate the issue and get to the cause of the issue soon.

We apologize for your inconvenience.

Thanks & Regards,

Hello Rashid,
now i have removed all the things from the code that are not necessary
to demonstrate the problem.

The Application creates a List of Tasks for our service engineers.

The Main program creates a PDF
them adds a section
them two tables are added to the section.
The Tables are them filled with some Data and a few Formfields.
Actually 5 formfields are created.

All the Formfields appear again a second time in the PDF.

I also realized that commenting the line
WpPosTable.DefaultCellPadding = margin;
in the method : CreateWorkPlanPosTable makes the program work correct for the fields.


The File “Program_cs.txt” is actually "Program.cs"

regards,
Olaf

Hi Olaf,

Thank you for sharing the details.

I tested the scenario and able to notice the same problem. For rectification, I logged this problem with ID “PDFNEWNET-33218” in our Issue Tracking System. We will further look into the details of this issue and will keep you updated via this forum thread on the status of correction.

We apologize for your inconvenience.

Thanks & Regards,

Hello Rashid,
thanks for adding this Problem to your Issue Tracking System.
Can you give me some details if and when your experts will fix the Problem.
This problem turned out to be a showstopper for the whole Project I am working on.

Thanks Olaf

Hi Olaf,

Thanks for your patience.

I am very pleased to share that your reported issue with ID: PDFNEWNET-33218 is fixed in our latest release version of Aspose.Pdf for .NET v6.8. Please try using it and in case you still face any problem or you have any further query, please feel free to contact.

Thanks & Regards,

Hi Rashid
thanks for the Message. I tested the new Version and it’s working good now.


Hi Olaf,

Thank you very much for your feedback. It is great to hear that your issue has been resolved. You are always welcome and please feel free to ask if you have any query in future.

Thanks & Regards,