Autofill PDF form fields with Site Data using Javascript
Having a bit of trouble connecting things I know are possible to do with JS and PDFs.
My site needs to generate agreements forms with customer data that is already retained in our site database. I have a copy of the PDF form with Form Fields in blank spaces where I would like the data to fill in.
I would like our agents to click a button on the site and a function retrieves the original PDF form with Form Fields then, using the captured data from our database, automatically fills the correct form fields with matching data.
The function then saves this as a new PDF to our server.
The agent is then able to pull up that new PDF with the filled data to have the customer sign.
How would I complete this?
