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

saving problem

zagermann
Registered: Feb 4 2008
Posts: 6

Hello. I've been creating forms for our sales department lately. I don't know why, but everytime I type some information in a form and try to save it, the file I get out of it isn't the way it should be.

For example, I checked some boxes to open another part of the form, which was hidden before, it's hidden again if I open the saved file. Still the boxes I checked are checked, but I can't get to the information I put into it before. Does anyone have a solution for it?

My Product Information:
LiveCycle Designer, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
The dynamic document State is not always preserved. In fact it's data dependant. i.e. if the dynamically created parts of the form are occupied by data then they persist, because the data persist.

You have a situation where you need to recreate the dynamic parts whenever the form is opened. Use the top level "DocReady" event to re-execute the code that opens the other part of the form.

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