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

Button in Master page

Avatar

20-08-2008

Hi All,



I have 2 buttons in MASTER PAGE, upon clicking first button , the second button should be hidden. This works fine only for the first BODY PAGE and for rest of the BODY PAGES the second button is still visible. How to make button invisible in all the BODY PAGES?



Thanks

Sri...

Replies

Avatar

Avatar
Validate 10
Level 2
jjohnsonace
Level 2

Like

1 like

Total Posts

46 posts

Correct Reply

0 solutions
Top badges earned
Validate 10
Validate 1
Boost 1
View profile

Avatar
Validate 10
Level 2
jjohnsonace
Level 2

Like

1 like

Total Posts

46 posts

Correct Reply

0 solutions
Top badges earned
Validate 10
Validate 1
Boost 1
View profile
jjohnsonace
Level 2

23-06-2010

Hi,

Yes, I am having exactly the same problem. I have buttons for PRINT, SAVE AS, LOCK, and RESET. If the user clicks LOCK, then I want the RESET button to go away...and it does...but only on the first page.

I only have one Master Page. My code for making RESET disappear is: ResetButton1.presence = "invisible";

I also tried it with the "absolute SOM" which has the "pageset" code, but it still does not work.

Thanks to anyone who can answer this.

Joe

Avatar

Avatar
Validate 1
Level 9
Srini_Dhulipall
Level 9

Likes

177 likes

Total Posts

1,397 posts

Correct Reply

255 solutions
Top badges earned
Validate 1
Boost 50
Boost 5
Boost 3
Boost 25
View profile

Avatar
Validate 1
Level 9
Srini_Dhulipall
Level 9

Likes

177 likes

Total Posts

1,397 posts

Correct Reply

255 solutions
Top badges earned
Validate 1
Boost 50
Boost 5
Boost 3
Boost 25
View profile
Srini_Dhulipall
Level 9

24-06-2010

You can find the current page number in the code and then if it is not first page, then hide the controls..

if(xfa.layout.page(

this) >1){

     //Write code to hide all your controls in the second page onwards.

}

Place the code in the Layout Ready event of any control in the Master Page.

Thanks

Srini

Avatar

Avatar
Validate 10
Level 2
jjohnsonace
Level 2

Like

1 like

Total Posts

46 posts

Correct Reply

0 solutions
Top badges earned
Validate 10
Validate 1
Boost 1
View profile

Avatar
Validate 10
Level 2
jjohnsonace
Level 2

Like

1 like

Total Posts

46 posts

Correct Reply

0 solutions
Top badges earned
Validate 10
Validate 1
Boost 1
View profile
jjohnsonace
Level 2

25-06-2010

THANKS SRINI!!!

You're the best.

Joe