Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.

Is it possible to hide/show pages?

Avatar

Former Community Member
I read in the help this:



Keep in mind the following factors when applying presence options to objects:

* The Invisible and Hidden options are unavailable for groups, content areas, master pages, page sets, and subform sets.



What i want is to hide all pages except the first one and show next one when pressing a button. I manage to go to another page but i dont know if there is a way to hide and show pages in the same pdf. Thanx in advance.
3 Replies

Avatar

Former Community Member
Sounds like you are interested in creating a wizard like form.



There are two approaches:



1. Use a Form Guide. This gives you a wizard style Flex / Flash app that sits on top of the PDF. You can choose different styles of layouts for the guide itself and it's panels. All data input into the Flex / Flash app gets pushed into the PDF. You require Forms ES to render these guides.



2. Use the script example published by SmartDoc - http://www.adobe.com/devnet/livecycle/articles/smartdoc_dotnet.html. I believe the scripts given there are very similar to the Adobe LiveCycle Form Bridge library (in the Library palette under Custom), so perhaps you could use that script block instead. You do not need Forms ES to render these forms.



Either way, you can hide entire pages / subform by (JavaScript):

yourPageName.presence = "hidden";



"Subform sets" and "page sets" are not the same thing as subforms and pages.



Hope this helps,

John.

Avatar

Former Community Member
Hi :-)

When I have to hide more then one page at once I did in this manner:

I create a subform, move the pages that I have to hide in the subform created and I use his presence attribute in the click event of the button.



SO I can hide more than one pages with only one statement.



I hope this helps.



Bye,

Roberto Bellarmino