Expand my Community achievements bar.

Adobe Summit 2025: AEM Session Recordings Are Live! Missed a session or want to revisit your favorites? Watch the latest recordings now.

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

SOLVED

Hide 1st page in form, is it possible?

Avatar

Former Community Member

Hello,   I have a 4 page form that I have pages 2-4 hidden until a selection is made from page 1.

My question is, is there a way to hide the 1st page after the selection is made which shows other pages in the form?

When I try to hide the 1st page, it shows as a blank page using:   MainPage.presence = "invisible";

Is there any code that will completely remove the 1st page and not just blank it out?

Thank you in advance for any insight!

1 Accepted Solution

Avatar

Correct answer by
Level 10

Hi,

You need to use the presence "hidden" to exclude it from the layout. Note you cannot hide all pages.

Hope that helps,

Niall

View solution in original post

2 Replies

Avatar

Correct answer by
Level 10

Hi,

You need to use the presence "hidden" to exclude it from the layout. Note you cannot hide all pages.

Hope that helps,

Niall

Avatar

Former Community Member

Thanks Niall!

Sometimes it can be the easiest solution...that worked perfectly!