コミュニティアチーブメントバーを展開する。

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