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

Hiding/Showing pages

Avatar

Avatar
Validate 1
Level 2
NY2CA
Level 2

Like

1 like

Total Posts

59 posts

Correct Reply

3 solutions
Top badges earned
Validate 1
Boost 1
Affirm 3
Affirm 1
View profile

Avatar
Validate 1
Level 2
NY2CA
Level 2

Like

1 like

Total Posts

59 posts

Correct Reply

3 solutions
Top badges earned
Validate 1
Boost 1
Affirm 3
Affirm 1
View profile
NY2CA
Level 2

15-11-2012

I created a 5 page forms using buttons to navigate to different pages. When the form is opened you can navigate using the buttons, however, you can also scroll down and see the other pages how do I hide these pages? tHe code i'm ising is this:

/ this calls the function to hide all the pages

pageNav.hidePages();

// this shows the target page again

page1.presence = "visible";

form1.page1.navButtons.Button2::click - (JavaScript, client)

// this calls the function to hide all the pages

pageNav.hidePages();

// this shows the target page again

page2.presence = "visible";

form1.page1.navButtons.Button3::click - (JavaScript, client)

// this calls the function to hide all the pages

pageNav.hidePages();

// this shows the target page again

page3.presence = "visible";

  form1.page1.navButtons.Button4::click - (JavaScript, client)

// this calls the function to hide all the pages

pageNav.hidePages();

// this shows the target page again

page4.presence = "visible";

form1.page1.navButtons.Button5::click - (JavaScript, client)

// this calls the function to hide all the pages

pageNav.hidePages();

// this shows the target page again

page5.presence = "visible";

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Validate 1
Level 2
NY2CA
Level 2

Like

1 like

Total Posts

59 posts

Correct Reply

3 solutions
Top badges earned
Validate 1
Boost 1
Affirm 3
Affirm 1
View profile

Avatar
Validate 1
Level 2
NY2CA
Level 2

Like

1 like

Total Posts

59 posts

Correct Reply

3 solutions
Top badges earned
Validate 1
Boost 1
Affirm 3
Affirm 1
View profile
NY2CA
Level 2

16-11-2012

I have figured it out, since I was still working on some of the pages I hadnt changed then to "hidden (Exclude from Layout)". Thank you.

Answers (1)

Answers (1)

Avatar

Avatar
Validate 10
Level 3
SI_MSD7
Level 3

Likes

17 likes

Total Posts

220 posts

Correct Reply

10 solutions
Top badges earned
Validate 10
Validate 1
Boost 5
Boost 3
Boost 10
View profile

Avatar
Validate 10
Level 3
SI_MSD7
Level 3

Likes

17 likes

Total Posts

220 posts

Correct Reply

10 solutions
Top badges earned
Validate 10
Validate 1
Boost 5
Boost 3
Boost 10
View profile
SI_MSD7
Level 3

15-11-2012

Hi NY2CA ...are you asking how to hide the pages upon initally opening the form? So, you only want page 1 to be visible, and desire the others to become visible as you navigate using the buttons?

If so, simply change  the presence state of pages 2-5  to "hidden" under the Object tab.

That way when you open the form only page 1 is visible, and you can then use your scripts to control the presence of the other pages.