Thank you for your help. This actually works great when added to the form in Acrobat, but when I add it to our Form made in Livecycle it doesn't function the same. In both forms, the Java function opens the Custom Scan box, and gives you the option to append the new scan to another pdf document.
When added in acrobat, the custom scan automatically fills in the "Append to Document" box with the documents path/filename that you are working in.
When added in Livecycle, the custom scan leaves this box blank so you have to find the path for the document you are in, which sometimes is a temporary file or new file that has not yet been saved to disk. So, this method does not work for us.
Unfortunalty, Livecycle forms won't let you add items from Acrobat so I am out of options. Anybody have a better solution, or is there any way to add the Javascript that opens the scan box and automatically adds the form to the exsisting documnet using default scan settings?
Thanks,
Bryan