Acrobat User Community Forums

You are not logged in.     Log in to your AUC account.     Don't have an account? Sign up today

  • Forum Index
  •  » Javascript
  •  » Subforms not appearing after form is saved and reopened with corresponding selected checkboxes, which have been scripted to make

#1 2008-01-11 13:12:47

bradschomburg
Member
Registered: 2008-01-11
Posts: 2

Subforms not appearing after form is saved and reopened with corresponding selected checkboxes, which have been scripted to make

I have created a form in Designer 7 and it is interactive when viewed as a PDF. Some subforms are hidden, unless triggered (via check box)to become visible. Once the form is saved, closed, and then reopened, the checked box does remain checked but the correspinding subform that the clicked check box is supposed to make visible is hidden again (this is the problem). I want the user to be able to check their boxes, have those boxes' appropriate subforms appear, save that form, and then reopen it so that they can see the subforms that had appeared originally for them when the boxes were first checked. In other words, how do I make the subforms that are scripted to be hidden unnless a corresponding clicked checkbox makes it visible REMAIN VISIBLE after the check box is selected, the form is saved and closed, and then reopened?


My Product Information:
LiveCycle Designer Standard 7 / Windows

Offline

 

#2 2008-01-14 18:43:22

thomp
Member

Registered: 2007-04-23
Posts: 1027

Re: Subforms not appearing after form is saved and reopened with corresponding selected checkboxes, which have been scripted to make

Use the "Form Ready" or "Doc Ready" events to reset the visibility of the subforms.  Be careful though.  These events are fired more than just when the document is opened.  Create and set a varible that's attached to the top level of the form structure after resetting the subform visibility.  Use this variable as a gateway to the subform visibility logic.

Offline

 

#3 2008-01-29 11:18:20

bradschomburg
Member
Registered: 2008-01-11
Posts: 2

Re: Subforms not appearing after form is saved and reopened with corresponding selected checkboxes, which have been scripted to make

Hmmm. How would one go about coding that? Thanks for taking an interest in this question!!

Offline

 

#4 2008-01-29 12:03:00

bradschomburg
Member
Registered: 2008-01-11
Posts: 2

Re: Subforms not appearing after form is saved and reopened with corresponding selected checkboxes, which have been scripted to make

Nevermind - I got it!!

Thanks!

Offline

 
  • Forum Index
  •  » Javascript
  •  » Subforms not appearing after form is saved and reopened with corresponding selected checkboxes, which have been scripted to make

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson

AcrobatUsers.com  >>  User Groups • News • Events • Articles • Blogs • How To • Resources • Member Log in