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

PDF not showing edit text and enabling submit form button

Capture.PNG I could not find any example how to enable the pdf viewer to render the edit texts on the pdf and enable the submit button. Do we have access on how the code looks like for

https://ej2services.syncfusion.com/production/web-services/api/pdfviewer

? You guys only have one example and I used the same pdf and javascript code but it must be something on the API service that's keeping them from being edit text is my best guess. Please advise. Thank you


5 Replies

CK Chinnamunia Karthik Chinna Thambi Syncfusion Team November 8, 2022 07:52 AM

Find the details for the respective queries


Edit text

We are not clear about the query "edit Text", So, can you share the code snippet, video recording and more details about this query to proceed further.

Enabling submit button

If the document contains the form field, then only the submit button is enabled. This could be behavior of the PDF Viewer control.


We have shared the Web service sample and GitHub link for your reference.


Web Service sample: https://www.syncfusion.com/downloads/support/directtrac/general/ze/ControllerSampleCore1031458474.zip


Git-hub link: https://github.com/SyncfusionExamples/EJ2-PDFViewer-WebServices



AO Alex Ortega November 8, 2022 11:43 AM

I used your API sample to render the pdf and I have the same issue. The Pdf is not rendering annotations like radio buttons and text boxes which is not allowing me to fill out the form. it seems like its read only. I am using

"@syncfusion/ej2-angular-pdfviewer": "^20.3.52",


Attachment: code_393fab46.zip



CK Chinnamunia Karthik Chinna Thambi Syncfusion Team November 9, 2022 11:49 AM

We were unable to reproduce the reported issue "Form field is not rendered" with the provided details. We have shared the sample in which we have tried to reproduce the issue in the below link and also we have shared the video recording for your reference.

 

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

 

Video: https://www.syncfusion.com/downloads/support/directtrac/general/ze/formfieldisnotrendered-144107741.zip

 

Try this and revert to us with a modified sample, code snippet, replication procedure, and more details about the reported issue if you have any concerns. This will be helpful for us to analyze further and provide the details.

 

Note: Ensure the Form Field module is injected in the PDF Viewer.

 

Screenshot:

 



AO Alex Ortega November 10, 2022 07:55 AM

Thank you. That fixed it for me! but now the calculation in the pdf is not working which uses Adobe calculate and not javascript so I am not sure the pdfviewer supports it.



CK Chinnamunia Karthik Chinna Thambi Syncfusion Team November 11, 2022 07:09 AM

We don't have the support for calculated fields in the PDF Viewer control.


Loader.
Live Chat Icon For mobile
Up arrow icon