Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Submitting a Form that is Embedded

New Here ,
May 25, 2021 May 25, 2021

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

TOPICS
Create PDFs , How to , PDF forms
2.0K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 25, 2021 May 25, 2021

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

 

 

Thom Parker - Software Developer at PDFScripting
Use the Acrobat JavaScript Reference early and often

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 25, 2021 May 25, 2021
Thank you for the information. My biggest problem right now is........I can view 1 pdf file and then the adobe program freezes. I can only get out of it by turning computer off and on again. I cannot do anything else. Stupid question but I need some help.
D.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 25, 2021 May 25, 2021

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 25, 2021 May 25, 2021
LATEST

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

 

 

 

 

Thom Parker - Software Developer at PDFScripting
Use the Acrobat JavaScript Reference early and often

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines