Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

How to hide a Page?

Avatar

31-08-2008

Hello,



I want to make a page disappear depending on the value of a variable, is this possible?

By the way my form is static, could it be done without changing to a dynamic form?



which attribute could be used to do this? should be done on the Page, Pageset,layout, subform ....???

if it cant be made disappear, making it invisible or all the fields on the page would be ok.



currently im using LiveCycle Designer 8.0



Thanks in advance.

Replies

Avatar

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

612 likes

Total Posts

7,689 posts

Correct Reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

612 likes

Total Posts

7,689 posts

Correct Reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile
pguerett
Level 10

02-09-2008

Yes your form will have to be dynamic ....you can use the presence property of the page and all children of the Page object will be affected. If you change the presence to invisible then the objects still exist in that they take up space but they cannot be seen. If you make it hidden then they do not take up space .....I believe that you will want hidden.

Avatar

Avatar
Validate 1
Level 3
xrum
Level 3

Likes

7 likes

Total Posts

89 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Applaud 5
View profile

Avatar
Validate 1
Level 3
xrum
Level 3

Likes

7 likes

Total Posts

89 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Applaud 5
View profile
xrum
Level 3

03-09-2008

myform.myitem.presence = "hidden"

myform.myitem.presence = "visible"



did you try this?

Avatar

05-09-2008

hello



myform.myitem.presence = "hidden" didnt work, tried already and also tried many combinations of Page, form, subform, pageset hidden but none of them worked so far.



The solution would be a dynamic form but im working with static ones so i cant go deeper into it.



Thank you two for taking time answering.

Avatar

05-09-2008

You could simulate dynamic form capabilities in static interactive forms, but it would require round-tripping back to the LiveCycle Forms Service server-side, and regenerating the PDF Form with the new layout.