Skip to main content
Participating Frequently
December 4, 2020
Question

PDF Embed API - can't get form to be editable

  • December 4, 2020
  • 2 replies
  • 1602 views

New to the PDF Embed API, and happy to get it working to the point where the form is rendering nicely on my webpage, but the form isn't editable, i.e. form fields can't be typed in, but the documentation says this should be enabled by default.

 

I've tried adding { enableFormFilling: true } to the configuration, but it didn't help. If i open the PDF from the URL straight into Chrome, i can edit the form, what am i missing?

 

Thanks!

    This topic has been closed for replies.

    2 replies

    Joel Geraci
    Community Expert
    Community Expert
    December 4, 2020

    Can you share the PDF file in question? It might not have interactive fields.

    klaus15A8Author
    Participating Frequently
    December 4, 2020

    Sure thing, here are two I've tried. Both are editable if you open in Chrome. Neither is editable in my webpage.

     

    https://arcmobileapps.com/FINTRAC.pdf

    https://arcmobileapps.com/sampleForm.pdf

     

    I'll stand up my webpage as well to be viewable...

     

    Joel Geraci
    Community Expert
    Community Expert
    December 4, 2020

    The first file is secured and while the security settings should allow for form filling. I think Embed API is seeing the security and preventing form filling.

    The second file is fillable when I load it into the playground.

    klaus15A8Author
    Participating Frequently
    December 4, 2020

    Should have included my config in case it matters:

     

    adobeDCView.previewFile(
    {
    content: {location: {url: pdfUrl}},
    metaData: {fileName: "sample-form.pdf"}
    },{
    embedMode: "IN_LINE",
    showDownloadPDF: false,
    showPrintPDF: false
    },{
    enableFormFilling: true
    }
    );