# Conditional button based on user

**URL:** <https://community.glideapps.com/t/conditional-button-based-on-user/1612>\
**Category:** Feature Requests\
**Created:** [November 2, 2019, 4:16pm UTC](https://community.glideapps.com/t/conditional-button-based-on-user/1612 "2019-11-02T16:16:24Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [November 3, 2019, 8:17pm UTC](https://community.glideapps.com/t/conditional-button-based-on-user/1612/10 "2019-11-03T20:17:34Z")

</div>

I threw together an example to Show/Hide an image button in [https://concepts.glideapp.io/](https://concepts.glideapp.io/) . It’s working using formulas in the sheet, but I couldn’t get it to work using the IF-THEN-ELSE column in the Data tab. See if it would work for your situation.  
I tried using the new IF-THEN-ELSE column to get the column value to equal the image URL, It works, but I still get an empty image placeholder that is clickable. I’m guessing Glide is still placing some sort of value in the virtual column that isn’t truly a blank value. Instead I’m controlling this in the sheet. It’s a little slower to update, but the image button shows/hides depending on the value in a different column. Hope that helps.

---

_[View the full topic](https://community.glideapps.com/t/conditional-button-based-on-user/1612)._
