Copy link to clipboard
Copied
Good Day from Canada
I have created an Adobe PDF Form with a submit button that i can email to a customer, they can fill it out and hit submit and it is emailed back to me. This is a product order form and works as intended.
I would like to embed this identical form (minus the submit buttons) into my website, allowing the customer to fill it out, hit a button and have the form emailed back to me. I use Square for my website and online store. I cannot figure out how to get this form to email back to me.
In the event it cannot be emailed back, I think i understand that i can have it returned as a file to a URL i set. I have a hosting package through WHC (Web Hosting Canada) and could set something up there, but i am not sure what i would need to do, or what to setup to make this functional. This is a form that changes on a weekly basis. If I am able to set it up to send the form to a URL, is it possible to auto generate an email telling me the URL has received a submitted form?
I hope this makes sense (or some sort of sense) that someone is able to give me some direction. If you need other info, please ask, and i will gladly give it to you. This has become very frustrating to me.
Thanks in advance for reading, contemplating and assisting.
Canadian Ken
Copy link to clipboard
Copied
Do you mean you want the user to fill out the form from a link on your web site?
Unfortunately the "fill out and email submit" bit only works for PDF viewers that implement these interactive features. Most browser based viewers don't, nor do most mobile PDF viewers. You can't guarentee that the user will open the PDF in a viewer that is compatible with these features. That's for normal operation of the PDF form submit button.
HTML (run in a browser) doesn't really have any control over the PDF file, so it can't submit the completed form to anything from the browser. You have to think about how these things fit together and design the workflow around that. Just in general HTML and PDF each operate in thier own world, they don't reliably intersect. So the form filling thing has to be done in either HTML or PDF. Now you can have the user fill in an HTML form, submit the form data to the HTML server, where a script would fill in the PDF and email that to you. The key point here is that the switch from HTML to PDF is happening server side.
You'll find some data on PDF form data handling here:
https://www.pdfscripting.com/public/Form-Data-Handling.cfm
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Thom
Thank You for your reply and the link to find out more info. If i understand everything, I can embed the pdf file into an html page on my website and then create a "Submit" type button that will send the Field Name and the data inputted by the customer to the sky somewhere. I think i would need to create a page from my hosting companies access that will then allow the data to be sent there. I am not understanding what type of form to create, i did see an excel spreadsheet would work, but not sure how to do this. Any links to help me understand how to do this.
Thanks,
Canadian Ken
Copy link to clipboard
Copied
You can't truly "embed" a PDF Form on a web page because HTML doesn't truly talk to PDF (unless it has special help). But Adobe does have a free service for embedding a PDF into an HTML page. I don't think it supports submit, but it's worth checking out.
https://www.adobe.io/apis/documentcloud/dcsdk/pdf-embed.html
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more