# Strange Behavior in Button Visibility using template column

**URL:** <https://community.glideapps.com/t/strange-behavior-in-button-visibility-using-template-column/78822>\
**Category:** Ask for Help\
**Created:** [December 27, 2024, 12:20pm UTC](https://community.glideapps.com/t/strange-behavior-in-button-visibility-using-template-column/78822 "2024-12-27T12:20:23Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Carl\_Johnson](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/carl_johnson/32/75656_2.png) [@Carl\_Johnson](https://community.glideapps.com/u/Carl_Johnson)\
**Post date:** [December 27, 2024, 12:20pm UTC](https://community.glideapps.com/t/strange-behavior-in-button-visibility-using-template-column/78822/1 "2024-12-27T12:20:23Z")

</div>

I have a button block that is visible when a value is selected using a choice list. selecting a list item makes the column not empty… all good when i use a regular text column.

But I need to use a template column that combines the product name + its size to create unique choice selections (e.g. “eggs: 24” vs just “eggs” so the all of the rows get displayed in the choice list)

when I write the template value to the column the not empty visibility condition in my workflow hides the button. When i look at the data in the column it clearly lists “eggs:24” in the column so its not empty yet there is no button.

If I switch the choice column back to write the plain “product name” text value the button comes back.

Ideas?

---

<div class="post-metadata">

**Author:** ![Simon\_Hill](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/simon_hill/32/94730_2.png) [@Simon\_Hill](https://community.glideapps.com/u/Simon_Hill)\
**Post date:** [December 27, 2024, 1:56pm UTC](https://community.glideapps.com/t/strange-behavior-in-button-visibility-using-template-column/78822/2 "2024-12-27T13:56:28Z")

</div>

Do you have a fixed number of known ‘sizes’? If yes, change visibility logic to ‘includes 12’ or ‘includes 24’, etc…

---

<div class="post-metadata">

**Author:** ![Carl\_Johnson](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/carl_johnson/32/75656_2.png) [@Carl\_Johnson](https://community.glideapps.com/u/Carl_Johnson)\
**Post date:** [December 27, 2024, 4:34pm UTC](https://community.glideapps.com/t/strange-behavior-in-button-visibility-using-template-column/78822/3 "2024-12-27T16:34:47Z")

</div>

thanks for the idea. Unfortunately the number of items changes each week.

My question is - is it not possible to use a template column when evaluating empty/not empty? If so i will build some other logic but this feels a bit “buggy” to me.

Happy Holidays!

---

<div class="post-metadata">

**Author:** ![Carl\_Johnson](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/carl_johnson/32/75656_2.png) [@Carl\_Johnson](https://community.glideapps.com/u/Carl_Johnson)\
**Post date:** [December 27, 2024, 4:49pm UTC](https://community.glideapps.com/t/strange-behavior-in-button-visibility-using-template-column/78822/4 "2024-12-27T16:49:44Z")

</div>

solved my own problem. As usual = its not Glide, its me…

The break was in the relation column. I was using the prior “product name” not the template in the relation. all fixed. thanks!

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/system/32/53398_2.png) [@system](https://community.glideapps.com/u/system)\
**Post date:** [January 3, 2025, 4:50pm UTC](https://community.glideapps.com/t/strange-behavior-in-button-visibility-using-template-column/78822/5 "2025-01-03T16:50:28Z")

</div>

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
