Form fields are not visible in viewer (Version 8.4)

Date text box is not visible in PDF Express viewer

PDF Express viewer
image

Normal pdf viewer
image

Hi Iakshan,

When you are loading the Date FreeTextAnnotation, are you using the importAnnotations API?Importing and exporting annotations | Documentation

Can you also provide any console error messages if any?

Best Regards,
Kevin Kim
Web Development Support Engineer
PDFTron Systems, Inc.
www.pdftron.com


Share how you are using PDF.js Express in your organization you could win a $500 Amazon gift card. All participants will receive 6 months of PDF.js Express+ for free. Learn more here

  1. No we are not using import annotations. We are using flattened annotations

  2. There were no errors in console

FYI. It’s not working even in your demo site

Date is not visible

Hi Iakshan,

i was able to load the flattened Date FreeTextAnnotations on the demo site:

Are you able to share the file (pdf) that had the issue?

Best Regards,
Kevin Kim
Web Development Support Engineer
PDFTron Systems, Inc.


Share how you are using PDF.js Express in your organization you could win a $500 Amazon gift card. All participants will receive 6 months of PDF.js Express+ for free. Learn more here

The PDF I have mentioned, contains form fields not freetextannotations. Those form fields are not visible in PDF express viewer. It’s working properly in normal PDF viewer

image

Cannot provide this original document. we will try to create a similar PDF for testing purpose

Hi lakshan,

Can you reproduce the issue for the PDF.js Express Plus?

Express Viewer may not support that particular annotation: PDF.js License Pricing for Commercial Viewer | PDF.js Express

Best Regards,
Kevin Kim
Web Development Support Engineer
PDFTron Systems, Inc.


Share how you are using PDF.js Express in your organization you could win a $500 Amazon gift card. All participants will receive 6 months of PDF.js Express+ for free. Learn more here

Yes, it can be reproduced in PDF.js express plus

Hi lakshan,

I will wait for your sample document so I can reproduce this on my end.

Thank you in advance.

Best Regards,
Kevin Kim
Web Development Support Engineer
PDFTron Systems, Inc.


Share how you are using PDF.js Express in your organization you could win a $500 Amazon gift card. All participants will receive 6 months of PDF.js Express+ for free. Learn more here

Hi,

sample document attached here. please check this document
The Park Hotel London_08-09-2022_Daily Drop Deposit Log (1) (1) (1).pdf (104.4 KB)

Thanks

Hi lakshan,

If I enter your file into the demo, I get the following errors in the console:

It looks like for now pdf.js won’t be able to support this flatedecode. Can you test with a non flattened annotation of the same annotation type?

Best Regards,
Kevin Kim
Web Development Support Engineer
PDFTron Systems, Inc.


Share how you are using PDF.js Express in your organization you could win a $500 Amazon gift card. All participants will receive 6 months of PDF.js Express+ for free. Learn more here