내 커뮤니티 업적 표시줄을 확대합니다.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.

해결됨

collapse and expand the blank area in AEM

Avatar

Level 1

I have a form where I have some fields hidden by default. On a check box checked action, they become visisble. When they are hidden , they create a lot of blank space. How can I collapse up the blank area when fields are hidden and expand it when the fields become visisble? I am using AEM 6.2 designer.

1 채택된 해결책 개

Avatar

정확한 답변 작성자:
Community Advisor

Hi,

Which property are you using for collapse? display or visible for toggling show hide.

display:none will not be available in the page and does not occupy any space. visibility:hidden hides an element, but it will still take up the same space as before. The element will be hidden, but still affect the layout. visibility:hidden preserve the space, whereas display:none doesn't preserve the space

Arun Patidar

AEM LinksLinkedIn

원본 게시물의 솔루션 보기

1 답변 개

Avatar

정확한 답변 작성자:
Community Advisor

Hi,

Which property are you using for collapse? display or visible for toggling show hide.

display:none will not be available in the page and does not occupy any space. visibility:hidden hides an element, but it will still take up the same space as before. The element will be hidden, but still affect the layout. visibility:hidden preserve the space, whereas display:none doesn't preserve the space

Arun Patidar

AEM LinksLinkedIn