• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

How to open pdf in editable mode in the browser

Guest
May 31, 2016 May 31, 2016

Copy link to clipboard

Copied

I have downloaded 4 blank pdf templates. I need to open these templates  with the help of drop down select box. For eg. If user selects option 1 then one pdf will be opened and if user selects option 2 then another pdf will be opened in the browser. But the problem is that these pdf must be opened in editable mode so that user can fill some data and then save it. I am facing the problem to open these pdfs in editable mode. I am using jsp and java script. I am not able to implement the code of opening the pdf in editable mode. Please help.

TOPICS
Acrobat SDK and JavaScript , Windows

Views

2.5K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 31, 2016 May 31, 2016

Copy link to clipboard

Copied

There's no such thing as an "Editable mode". If the PDF files contain form fields, and the application used to open them supports fillable fields, then the user will be able to edit those fields when the file is opened.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
May 31, 2016 May 31, 2016

Copy link to clipboard

Copied

I guess you mean "fillable", and not "editable" (there's quite a difference between these two terms).

Whether a fillable PDF is indeed fillable when viewed in a browser depends strictly on the PDF viewer used to display the document.

The PDF viewing components coming with the common web browsers are too dumb to display fillable fields, and even more so to provide support for the logic behind the fields.

State of the Art is using the Acrobat/Reader browser plug-in. However, fewer and fewer browsers support its architecture.

Suggested workaround: Force download of the file, and open it in a suitable viewer, such as Acrobat/Reader.

Hope this can help.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
May 31, 2016 May 31, 2016

Copy link to clipboard

Copied

ok sir thank you. I have one more question. Can Adobe be integrated with jsp or javascript or HTML? Please share the code if possible.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 31, 2016 May 31, 2016

Copy link to clipboard

Copied

"Adobe" is a company. Do you mean a PDF file? Or do you mean the application itself (Acrobat/Reader)?

And what do you mean by "integrated", exactly?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
May 31, 2016 May 31, 2016

Copy link to clipboard

Copied

Yes these pdfs contain form fields and they can be edited if I am opening these directly from acrobat but when it is opening on browsers, it can not be edited.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 31, 2016 May 31, 2016

Copy link to clipboard

Copied

That depends on the plugin used to open the file inside the browser window. There's nothing you can do about that, except for instructing the users not to open the file in the browser window, but to save it locally and then open it using Adobe Acrobat or Adobe Reader, as Max described.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
May 31, 2016 May 31, 2016

Copy link to clipboard

Copied

Oh sorry sir. yes I mean Adobe Reader(Pdf Viewer) need to be integrated either in jsp or javascript or html of our web project. Is there any solution for that? If so please let us know.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 31, 2016 May 31, 2016

Copy link to clipboard

Copied

You can embed a PDF file in your HTML page, but which actual app will be used to open it is up to the browser.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 31, 2016 May 31, 2016

Copy link to clipboard

Copied

LATEST

If the PDF file is opened in the Adobe Acrobat/Reader plug-in in the browser on a Windows system, the "hostContainer" property of the document object allows you to communicate with that "container" element (which in this case would be the web page that contains your PDF file). See here for more information:

Acrobat DC SDK Documentation - Doc.hostContainer

Acrobat DC SDK Documentation - HostContainer

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines