These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Problem in PDf in Google Chrome

hina.pdfuser
Registered: Oct 28 2010
Posts: 26
Answered

I have created a PDF Form which works correct if downloaded from Firefox or IE. But if I open it from Google Chrome it is downloaded and displayed properly but doesn't function properly.
 
Scenario:
1. We create custom PDF forms in Acrobat, places various text boxes and Submit buttons whose action is defined to be redirected to a web URL.
 
2. After creating forms we upload/save this form in Database.
 
3. Now users open these forms in web browser and fill in the fields.
 
4. After filling the required fields they click on Submit button.
 
5. On clicking Submit button the form is posted to one of our web pages which consumes and saves this form in Database again.
  
Now Step no. 1 to 3 are functioning properly. But in Google Chrome user cannot get ahead of step 3. Nothing happens if user clicks on Submit button after filling all required fields (even all fields). All 5 steps are functioning properly on IE and Firefox. Please help.

Thanks,
Hina

My Product Information:
Acrobat Pro 9.0, Windows
hina.pdfuser
Registered: Oct 28 2010
Posts: 26
I further researched that it is due to plugins of Google Chrome. I typed "about:plugins" into the address bar, find the "Chrome PDF Viewer," and then I click "Disable". After that my PDF worked as intended. So this was the main problem.

But I can do this in my browser. The site / forms are accessed by various online users and I cannot do this setting on their browsers. Any code in Asp.Net or in Acrobat JavaScript that disables this Plugin via code is most welcome. Please help.

Thanks,
Hina

George_Johnson
Online
Expert
Registered: Jul 6 2008
Posts: 1876
Accepted Answer
What I've done is set up the form so that is it initially disabled (e.g., fields set to read-only) and place a button on top of everything on the initial page that displays a notification that the user must be using an appropriate and properly configured PDF viewer. When the document is opened, some JavaScript code checks what version they are using, and if it's sufficient, other code enables the form and removes the notification. If the user does not have a sufficient viewer and/or JavaScript is disabled, the message will be displayed and the form will remain locked. The notification can include information they can use to configure their system so the form will work. So rather than the form simply not working correctly, the user has useful information about how to correct the situation.
Merlin
Acrobat 9ExpertTeam
Registered: Mar 1 2006
Posts: 766
George_Johnson wrote:
What I've done is set up the form so that is it initially disabled (e.g., fields set to read-only) and place a button on top of everything on the initial page that displays a notification that the user must be using an appropriate and properly configured PDF viewer. When the document is opened, some JavaScript code checks what version they are using, and if it's sufficient, other code enables the form and removes the notification. If the user does not have a sufficient viewer and/or JavaScript is disabled, the message will be displayed and the form will remain locked. The notification can include information they can use to configure their system so the form will work. So rather than the form simply not working correctly, the user has useful information about how to correct the situation.
Yes, as usual in PDF-Portfolios that handle a cover-sheet/cover-page for not-compatible viewers.

I do as same for some forms and for multimedia-PDFs : default in any viewer is to open the PDF on page 1, so I use page 1 as a "cover page" and I put a JavaScript that open the page 2 only if the viewer is version 9 or later, and obviously only if the viewer is JavaScript-compatible/enabled.

Otherwise the end-user just see the "cover-page-1", that leads to the latest Adobe Reader download.

See that samples files :

- http://abracadabrapdf.net/articles.php?lng=fr&pg=589- http://abracadabrapdf.net/articles.php?lng=fr&pg=594(clic the yellow link to download)

;-)
Merlin
Acrobat 9ExpertTeam
Registered: Mar 1 2006
Posts: 766
So, if the file must be printed a good tip is going to : Acrobat : File menu : Properties : Advanced : Print page range
to disable the "cover-page-1" from printing…

:-)
hina.pdfuser
Registered: Oct 28 2010
Posts: 26
Ok. Thanks all for suggestions. I think I need to do something like you too have suggested. But do I mean that there is no way to disable default Chrome Reader from code behind?

Thanks,
Hina

Merlin
Acrobat 9ExpertTeam
Registered: Mar 1 2006
Posts: 766
No, this is an user choice.

Also see : http://kb2.adobe.com/cps/333/333504.php

:-)
hina.pdfuser
Registered: Oct 28 2010
Posts: 26
Thanks Merlin for your suggestions. I think this is the only place where I always find resolutions of my queries related to PDF creation, all due to AUC experts like you :)

Thanks,
Hina