# Collapse when hidden field

**URL:** <https://forum.bubble.io/t/collapse-when-hidden-field/237716>\
**Category:** Database\
**Created:** [December 19, 2022, 6:44pm UTC](https://forum.bubble.io/t/collapse-when-hidden-field/237716 "2022-12-19T18:44:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dirceuazevedo](https://avatars.discourse-cdn.com/v4/letter/d/9d8465/32.png) [@dirceuazevedo](https://forum.bubble.io/u/dirceuazevedo)\
**Post date:** [December 19, 2022, 6:44pm UTC](https://forum.bubble.io/t/collapse-when-hidden-field/237716/1 "2022-12-19T18:44:46Z")

</div>

I have a database.

One of the fields in this database is a link to a video.

How to proceed for the group displaying this link to be hidden when the field is empty.

Collapse when hidden didn’t work.

Thanks  
Dirceu Azevedo

---

<div class="post-metadata">

**Author:** ![tylerboodman](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/tylerboodman/32/242142_2.png) [@tylerboodman](https://forum.bubble.io/u/tylerboodman)\
**Post date:** [December 19, 2022, 6:49pm UTC](https://forum.bubble.io/t/collapse-when-hidden-field/237716/2 "2022-12-19T18:49:24Z")

</div>

For your link or text element:  
On the layout tab you would want to uncheck Visible on page load, and collapse when hidden check yes as well.

On the Conditional tab you would set it the rule so when Parent group’s [your thing]'s [your field] is not empty

Then pick the property “This element is visible” and check yes

---

<div class="post-metadata">

**Author:** ![dirceuazevedo](https://avatars.discourse-cdn.com/v4/letter/d/9d8465/32.png) [@dirceuazevedo](https://forum.bubble.io/u/dirceuazevedo)\
**Post date:** [December 19, 2022, 7:49pm UTC](https://forum.bubble.io/t/collapse-when-hidden-field/237716/3 "2022-12-19T19:49:59Z")

</div>

Thanks!
