# Disable a Button

**URL:** <https://community.glideapps.com/t/disable-a-button/31772>\
**Category:** Ask for Help\
**Created:** [September 14, 2021, 12:53pm UTC](https://community.glideapps.com/t/disable-a-button/31772 "2021-09-14T12:53:09Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![wiz](https://avatars.discourse-cdn.com/v4/letter/w/7993a0/32.png) [@wiz](https://community.glideapps.com/u/wiz)\
**Post date:** [September 14, 2021, 12:53pm UTC](https://community.glideapps.com/t/disable-a-button/31772/1 "2021-09-14T12:53:09Z")

</div>

hey ! @George_B i came across your answer here and i can’t figure out what did you mean by ‘‘is linked to blank’’ can you please explain since i tried to leave the cell empty but the button just disappeared.

Continuing the discussion from [Disable Buttons Dynamically](https://community.glideapps.com/t/disable-buttons-dynamically/1126/2):

Thanks

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [September 14, 2021, 12:59pm UTC](https://community.glideapps.com/t/disable-a-button/31772/2 "2021-09-14T12:59:07Z")

</div>

You can just have a conditional visibility settings to do that now, and you can do it dynamically. Can we know more about your use case?

---

<div class="post-metadata">

**Author:** ![wiz](https://avatars.discourse-cdn.com/v4/letter/w/7993a0/32.png) [@wiz](https://community.glideapps.com/u/wiz)\
**Post date:** [September 14, 2021, 1:04pm UTC](https://community.glideapps.com/t/disable-a-button/31772/3 "2021-09-14T13:04:02Z")

</div>

thanks for your response i’m building a kind of online library for my school and it shows PDFs file, I want to disable the button if the item selected is not available or not available for download since i have two buttons one for preview and the other for download so i want to disable the button based on status Available / not Available

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [September 14, 2021, 1:06pm UTC](https://community.glideapps.com/t/disable-a-button/31772/4 "2021-09-14T13:06:03Z")

</div>

Then set the button’s conditional visibility to Status is Available, if I understand you right.

---

<div class="post-metadata">

**Author:** ![wiz](https://avatars.discourse-cdn.com/v4/letter/w/7993a0/32.png) [@wiz](https://community.glideapps.com/u/wiz)\
**Post date:** [September 14, 2021, 1:17pm UTC](https://community.glideapps.com/t/disable-a-button/31772/5 "2021-09-14T13:17:13Z")

</div>

@ThinhDinh Thanks i Though there was another solution mentioned above other than conditional visibility such as grey out the button or something like that, and i don’t remember but i’ve seen it somewhere else i can’t remember but i’ve already seen a grey button in one of the apps and if my memory serves me right it was the button bar one is normal and the other is grey but the same layout. but since it not possible conditional visibility is fine for me thanks for making things clear for me.

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [September 14, 2021, 1:18pm UTC](https://community.glideapps.com/t/disable-a-button/31772/6 "2021-09-14T13:18:09Z")

</div>

Greying out the button natively only works for button bars as far as I aware (if you specifiy conditions on branches and nothing matches).

---

<div class="post-metadata">

**Author:** ![wiz](https://avatars.discourse-cdn.com/v4/letter/w/7993a0/32.png) [@wiz](https://community.glideapps.com/u/wiz)\
**Post date:** [September 14, 2021, 1:20pm UTC](https://community.glideapps.com/t/disable-a-button/31772/7 "2021-09-14T13:20:25Z")

</div>

Thanks for your Help!

---

<div class="post-metadata">

**Author:** ![NoCodeAndy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nocodeandy/32/62530_2.png) [@NoCodeAndy](https://community.glideapps.com/u/NoCodeAndy)\
**Post date:** [January 17, 2024, 4:50pm UTC](https://community.glideapps.com/t/disable-a-button/31772/8 "2024-01-17T16:50:39Z")

</div>


