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

How to show hidden pages

rcwip
Registered: Oct 30 2010
Posts: 13

Hi there. I am going to design a form which contains 2 pages and 9 hidden continuation pages (3 pages of C1, 3 pages C2 & 3 pages C3)which will not be shown until users select on page 2 which and how many continuation page they want to have at the end of the form. Can anyone here please show me how to write the javascript or action builder to do the same. I'm using livecycle form designer v9.0.
 
Thanks.

rcwip
Registered: Oct 30 2010
Posts: 13
Can anyone please help?

Cheers.
ganman
Registered: Nov 8 2010
Posts: 1
Hi, You can make use of a property called 'presence'. If you have an xfa form with a page named 'page1', you can manipulate its presence property like this:

page1.presence = "visible"; --> sets the page to be visible
page1.presence = "invisible"; --> sets the page to be invisible
page1.presence = "hidden"; --> sets the page to be hiddenThe difference between 'invisible' and 'hidden' is that when the object is 'invisible', it takes up space on the form's layout whereas when it is 'hidden', it does not take up space on the form's layout.

You can set the presence property's initial value in the Object palette and then trigger an action to show/hide it on click of a button, toggle of a checkbox etc. Hope this helps.

Cheers,
Gan
rcwip
Registered: Oct 30 2010
Posts: 13
Hi ganman. Thanks for your help. I got another problem and hope you can help. How can I set a textfield which can only accept 7 digits or a combination of a letter "F" as a prefix plus 7 digits (e.g. 1234567 or F1234567)? Thanks in advance.