Acrobat User Community Forums

You are not logged in.     Log in to your AUC account.     Don't have an account? Sign up today

#1 2008-01-03 15:00:34

laurasportfolio
Member
Registered: 2008-01-03
Posts: 0

Attachment on a form

I created a form for my clients to fill out and I want to add a button where they can click, browse their computer and upload an attachment (.gif, .jpg, .eps). How do I add this option to my form?


My Product Information:
Acrobat Pro 8 / Macintosh

Offline

 

#2 2008-01-04 19:19:07

thomp
Member

Registered: 2007-04-23
Posts: 860

Re: Attachment on a form

This is a tricky one, but it can be done. 

Attaching a file to a PDF requires that the document has "File Embedding" Rights, or the user has Acrobat Professional.

If either of these is true then you can use the Acrobat JavaScript funtion "doc.importDataObject()". This function will display a file open dialog and then embed the selected file.

An alternative is to use the AcroForms "Submit File" feature. Using a submit requires that you also write a server script to handle the incoming data, and this is an AcroForms only feature, so it may not work for you.  Here's an article that explains it all.

http://www.acrobatusers.com/tech_corner … ows_part4/

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson

AcrobatUsers.com  >>  User Groups • News • Events • Articles • Blogs • How To • Resources • Member Log in