These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Packages and Forms

eman
Registered: May 4 2008
Posts: 3

Hello Everyone.

I've been creating some forms for work that would greatly increase my workflow and speed, however i've run into a problem i was hoping someone could help me with.

I'm been able to create forms, no problem and use the global binding feature in Livecycle 8.
So i've created a "main" form that always has to be filled out, but depending on the situation, other "sub" forms will need to be filled out.

If I package both forms together, is there a way to transfer the data over??

So far i've tried without success. I've packaged both file together and made sure in the separate files that all the field names match and globally bound it.
But nothing.

Can anybody help me???

thomp
Expert
Registered: Feb 15 2006
Posts: 4411
The files in a package are completely separate documents. Just like PDF files in a disk folder. The packaging is kind of like a zip file in this way, the files are wrapped up in the same container, but there is no automatic connection between them.

However, since they are in a PDF, you could write a Script to transfer data betweent the forms. The code would have to be in the cover document, since this is the containing PDF, and it's the only one that has access to the packaged files. The easy way to do it would be to create a "copy data" button.

To do this you will have to use "DataObject" in Acrobat JavaScript. There is no functionality for this in LiveCycle scripting. But you'll need a good knowledge of LiveCycle JavaScript to make it work.

An easier way (and this is much much easier) would be to just make the second form a hidden subform in the first form. That way you get the automatic connection through the global binding.

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script