We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Form Fields in a multi-page PDF document are lost on save/download

I have a multi-page PDF document with multiple form fields on each page.


If I click the Download button in the Syncfusion PDF Viewer toolbar (or call `saveAsBlob` method), without interacting with the PDF document, the downloaded PDF does not contain the form fields from the last few pages.

I guess that this happens because, upon initialization, the component does not render all the pages with the form fields in the PDF (it renders only the first and the second page). If I scroll to the end of the document and then click the Download button, the downloaded PDF contains all the form fields.


Can you please help me with a solution?

Thank you!





6 Replies

CK Chinnamunia Karthik Chinna Thambi Syncfusion Team January 3, 2023 04:55 PM UTC

We have tried to reproduce the reported issue but it is not reproducing on our end. We have shared the sample in which we have tried to reproduce the issue in the below link,


Sample:  https://stackblitz.com/edit/angular-dxub1a-ko2lkj?file=app.component.ts,app.component.html,package.json,index.html


Try this sample and revert to us with the following details, if you have any concerns on this. This will be helpful for us to analyze further and provide the details.


  • Modified sample or share the sample in which the issue is reproduced.
  • Code snippet
  • Replicate procedure

Share the document



ML Marius Leustean January 4, 2023 09:04 AM UTC

Hello,


I've attached the sample document in which the issue can be reproduced. This document has 4 form fields as follows:

- at page 1: Textbox1, Textbox 2

- at page 60: Textbox1, Textbox 10


Unzip the attachement, then:

- open the PDF file (PDF_Succinctly_form_fields_.pdf) in the Stackblitz sample that you provided.

- immediately after loading, without scrolling in the document, click the Download button from the toolbar (or call `saveAsBlob` method).

- the generated PDF file will contain only 3 form fields as follows: (at page 1: Textbox1, Textbox 2; at page 60: Textbox 10).

- in the Stackblitz sample, scroll to page 60 (and wait until the page is rendered), then click the Download button from the toolbar. The generated PDF file will contain all the form fields.


Thank you!



Attachment: PDF_Succinctly_form_fields_.pdf_6dedcc71.zip



CK Chinnamunia Karthik Chinna Thambi Syncfusion Team January 5, 2023 02:21 PM UTC

We were able to reproduce the reported issue  “Form field with the same name is missing while downloading” and suspect this to be a defect. We will validate it and update further details in two business days on January 09, 2023.



CK Chinnamunia Karthik Chinna Thambi Syncfusion Team January 9, 2023 05:21 PM UTC

We have confirmed the issue "Form field with the same name in different page is missing while downloading" and logged it as a defect. The fix for the issue will be available in our upcoming weekly NuGet release on February 01, 2023. You can track the status of the issue through the following link.


Feedback link: Form field with the same name in different page is missing while downloading | Issue Feedback


Disclaimer: "Inclusion of this solution in the weekly release may change due to other factors including but not limited to QA checks and works reprioritization."



CK Chinnamunia Karthik Chinna Thambi Syncfusion Team February 2, 2023 05:28 PM UTC

Sorry for the inconvenience. The fix for the reported issue was not included in our latest weekly release. However, it will be included in our upcoming weekly release on February 15, 2023.



CK Chinnamunia Karthik Chinna Thambi Syncfusion Team February 15, 2023 12:35 PM UTC

We have fixed the reported issue "Form field with the same name in different page is missing while downloading" and the fix for the reported issue was included in our latest weekly release v20.4.0.50. Kindly upgrade to that version to get the issue resolved.

 

Packages:   

 

CDN Links:

https://cdn.syncfusion.com/ej2/20.4.50/dist/ej2.min.js

https://cdn.syncfusion.com/ej2/20.4.50/material.css


Loader.
Live Chat Icon For mobile
Up arrow icon