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

Dynamic PDF - Hidden Sub Form / Fields Not Saved

Wade0808
Registered: Mar 25 2008
Posts: 4
Answered

I have a PDF I created in LiveCycle that has several checkboxes that determine when associated sub forms and fields are visible using the presence property. When I initially open the PDF in Professional 8.0 it works fine, the checkboxes hide / show the sub forms and you can enter data into the sub form fields. The problem is that when a user fills in data in the visible sub form fields then wants to save a copy doing a File - Save As. The visiable sub forms and data are not saved. They are lost...How can I keep the visiable sub forms / data when a user saves the altered PDF? Any help would be greatly appreciated. Thanks.

My Product Information:
LiveCycle Designer, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
The visible state of form elements is not something that is saved, you have to set this up as part of the form initialization. Each element that has dynamic visibility must have some data element that is saved for it. Like a check box value. Use this to determine visibility at initialization. Use the Initialize or Form Ready event. Make sure the data is loaded before you make a visibility determination.

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

Wade0808
Registered: Mar 25 2008
Posts: 4
Thanks for your help!