Free Support Forum - aspose.com

PDF form fields- contents are not formatting (date- money)

I am using Aspose.Pdf 11.0.0 for .NET (from nuget)

I have a simple PDF form that I created with Adobe Pro. It has two form fields:

· “DateField” that was formatted for a date in the format of “m/d/yyyy”

· “MoneyField” that was formatted for a number, 2 decimal places, and a currency symbol ‘$’

I have tried a few approaches (ImportXfdf, and the .FillFiled method) to setting these form fields with Aspose.Pdf … all of which the results are the same … the output is NOT formatted as configured in the PDF.

Attached is a sample project (and PDF) to demonstrate the issue

Hi Tony,


Thanks for using our API’s.

I have tested the scenario and I am able to
notice the same problem. For the sake of correction, I have logged this problem
as PDFNEWNET-39984 in our issue tracking system. We will
further look into the details of this problem and will keep you updated on the
status of correction. Please be patient and spare us little time. We are sorry
for this inconvenience.

What is the status of this? Are there plans to fix this ?

Hi Tony,


Thanks for your inquiry. I am afraid your reported issue is still pending for analysis yet as currently our product team is busy in resolving other issues in the queue, reported earlier. We will notify you in this thread as soon as we made some significant progress towards issue resolution.

We are sorry for the inconvenience caused.

Best Regards,

Has there been any progress on this? I’ve also hit this in 11.3. Happy to upgrade to a newer version if I can get some confirmation that it’s fixed.

@jongrant

Thank you for contacting support.

Would you please share source and generated file along with narrowed down code snippet so that we may investigate your scenario and address it accordingly.

The scenario is the same as the above: FillField on a field does not apply that field’s Number formatting. E.g. we fill “123456” and it displays as “123456” and not “123,456” as it is configured in the PDF to do. Editing the value on the generated PDF will apply the formatting correctly.

What is the status of PDFNEWNET-39984?

@jongrant

Please note that PDFNET-39984, formerly PDFNEWNET-39984, is pending for investigations; it was logged for quite older version of the API whereas several changes and improvements have been incorporated since then. Therefore, we need to check if Aspose.PDF for .NET 18.11 reproduces it with your data or not.