phihag/pdfform.js

Cannot get this to work

dianesabra opened this issue · 1 comments

First of all, I love the demo. Thanks for that.

My goal: We have many fillable forms that we will be printing in our web app. One of them is the Buyer's Guide: https://www.ftc.gov/system/files/documents/plain-language/cfr_buyers_guides_english.pdf.

The user will not be uploading the document each time they want to print it. We want to save the PDF in our files and have the code find the PDF, fill it out, and then print it.
I ran into an error that I'd appreciate your help on a lot.

What I've done so far...

  1. run NPM
    image
  2. imported pdfform into the component.
    image
  3. I did not import the <script> into the index.html.
  4. created a function in the component mentioned in #2 above
    image
    This is the error I am receiving.
    image

Did you get this to work?
I have similar requirement