Avatar

Level 10

Do you want to add an attachment to your file via scriptings? Where do you want to use the fiorm finally – Adobe Reader or Acrobat? For the former you'll need a LiveCycle server with the Reader Extensions module to enable this function in the form, for the latter, you can use the importDataObject() method i.e.

event.target.importDataObject({cName: "Image.jpeg"});