I have a button in my pdf file that when clicked I want it to download a pdf and not open it in a browser.

I have a pdf file on Google drive and it is set to public. The button in my pdf document uses the “Open a web link” action but it doesn’t open the file and shows me the following message in Chrome, Firefox, and IE.

If the file was created in LiveCycle Designer, the user will need to have Adobe Reader/Acrobat installed and have it configured to open PDFs in the browser. The built-in PDF viewer of Firefox and Chrome have limited or not support for XFA.