# Visibility function broken! Help Me!

**URL:** https://community.glideapps.com/t/visibility-function-broken-help-me/26054
**Category:** Report a Bug
**Created:** [April 26, 2021, 3:24pm UTC](https://community.glideapps.com/t/visibility-function-broken-help-me/26054 "2021-04-26T15:24:20Z")
**Posts on this page:** 14
**Page:** 1

<div class="post-metadata">

### Author: ![Nicolas\_Sicard](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nicolas_sicard/32/16101_2.png) [@Nicolas\_Sicard](https://community.glideapps.com/u/Nicolas_Sicard)
#### Post date: [April 26, 2021, 3:24pm UTC](https://community.glideapps.com/t/visibility-function-broken-help-me/26054/1 "2021-04-26T15:24:21Z")

</div>

My app’s URL: [https://abounding-boat-5898.glideapp.io/](https://abounding-boat-5898.glideapp.io/)

Hey Glide Communty!!! Hope everyone is ok ;).

I have an issue with the visibility of a choice component. I have a table named “Log carrito” or “Log Cart” (in english), in witch every product selected in the store is recorder there. So I’m trying to do a form to submit all the products info and a user-picked size and quantity. As I said before, that form has been set up to record that info in the “Log Carrito” tab

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/c/b/cb85f29670ecddc2b8e0164c81afe3136bcacf63.jpeg)

So far, so good, but when I try to set the visibility function up is not wordking. I´m trying to configure it with a if condition: if the type product is “kids” show an specific choice component and if it’s “adults” show the other choice component. But seems that that visivility function doesn’t recognice that data in the “Log Carrito” tab. The component appears only shows if the type producto is empty (see picture below).

 ![Sin título](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/7/4/74b347edc7538d060ba037ff68f4766d92435729.jpeg)

As you can see the data is in the tab correctly…

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/a/5/a50f0fd9e9ea7d7ed67031e5d920e38b8bdc5f83.jpeg)

I’m stuck here 😫, I’ve tryed many many things and nothing works. If anyone can help me, I’ll be very very gratefull!!! Best Wishes!! 😊

---

<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: [April 26, 2021, 11:26pm UTC](https://community.glideapps.com/t/visibility-function-broken-help-me/26054/2 "2021-04-26T23:26:30Z")

</div>

Is the “Type” column a value from the previous screen or one you’re writing to as the destination of this form?

---

<div class="post-metadata">

### Author: ![Toshihiro\_Koda](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/toshihiro_koda/32/22771_2.png) [@Toshihiro\_Koda](https://community.glideapps.com/u/Toshihiro_Koda)
#### Post date: [April 27, 2021, 12:34am UTC](https://community.glideapps.com/t/visibility-function-broken-help-me/26054/3 "2021-04-27T00:34:33Z")

</div>

Hi Nicolas,  
I am facing the same issue. It seems that visibility function doesn’t work when computed columns are added as the conditions.  
In my case, it doesn’t work when I add “Lookup” as the condition, but it works with “Text” and “Email”.  
This phenomenon is very fatal for me, so I hope it will be fixed as soon as possible…

---

<div class="post-metadata">

### Author: ![Nicolas\_Sicard](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nicolas_sicard/32/16101_2.png) [@Nicolas\_Sicard](https://community.glideapps.com/u/Nicolas_Sicard)
#### Post date: [April 27, 2021, 2:49pm UTC](https://community.glideapps.com/t/visibility-function-broken-help-me/26054/4 "2021-04-27T14:49:33Z")

</div>

Hello @ThinhDinh !. Thaks for your help.

The “Type” column is already in the destination table, I just want to use the data in that column type to visualize either the adults sizes or the kids sizes. The weird thing is that I have achived that before in the past but recently I had to do come changes I now I can’t, I don’t know why so…

---

<div class="post-metadata">

### Author: ![Nicolas\_Sicard](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nicolas_sicard/32/16101_2.png) [@Nicolas\_Sicard](https://community.glideapps.com/u/Nicolas_Sicard)
#### Post date: [April 27, 2021, 2:51pm UTC](https://community.glideapps.com/t/visibility-function-broken-help-me/26054/5 "2021-04-27T14:51:36Z")

</div>

ohh, nooo 😯, it’s so dissapointing!! 😫

---

<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: [April 27, 2021, 11:28pm UTC](https://community.glideapps.com/t/visibility-function-broken-help-me/26054/6 "2021-04-27T23:28:52Z")

</div>

> [@Nicolas\_Sicard](#):
>
> if the type product is “kids” show an specific choice component and if it’s “adults” show the other choice component

If the type is in the destination tab, then wouldn’t you have to let the user choose this inside the form before using it as a value to show the choice components you mentioned above?

---

<div class="post-metadata">

### Author: ![Nicolas\_Sicard](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nicolas_sicard/32/16101_2.png) [@Nicolas\_Sicard](https://community.glideapps.com/u/Nicolas_Sicard)
#### Post date: [April 28, 2021, 5:56pm UTC](https://community.glideapps.com/t/visibility-function-broken-help-me/26054/7 "2021-04-28T17:56:01Z")

</div>

no, the type is not the destination column, it is a lookup column (inside that table) that I want to use to set the visibility of two choice components: the size and the quantity of that product, which are the ones that the user pick and submit.

---

<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: [April 28, 2021, 9:55pm UTC](https://community.glideapps.com/t/visibility-function-broken-help-me/26054/8 "2021-04-28T21:55:38Z")

</div>

So it is from the table that the previous tab is built on, is it correct?

---

<div class="post-metadata">

### Author: ![Nicolas\_Sicard](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nicolas_sicard/32/16101_2.png) [@Nicolas\_Sicard](https://community.glideapps.com/u/Nicolas_Sicard)
#### Post date: [April 30, 2021, 7:51pm UTC](https://community.glideapps.com/t/visibility-function-broken-help-me/26054/9 "2021-04-30T19:51:38Z")

</div>

Sorry, I don’t understand your question. The thing is that when a customer clicks on “put in a cart” in a product details, then the form opens and he/she can pick a size and the quantity of that product. But, the things is that kid sizes only should be visualizad to kid products and the same with adults. That form in build upon the “cart” table and those kid and adult sizes are a rollup column in thar “cart” table. But I can configure that visibility because Glide doesn´t recognize the data in those columns ;( . Hope you understand welll 😉

---

<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: [April 30, 2021, 11:56pm UTC](https://community.glideapps.com/t/visibility-function-broken-help-me/26054/10 "2021-04-30T23:56:55Z")

</div>

The thing is I believe those visibility conditions can only be setup based on the values you are having on that form (hence, those are the columns in the destination Sheet, rather than the Sheet you built the previous screen on).

From your description above, it seems like the “Type” column is one from the previous screen, which should not be available for you to choose. Any chance you’re misunderstanding it and choose the column with the same name from the destination Sheet?

---

<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: [February 23, 2022, 10:28pm UTC](https://community.glideapps.com/t/visibility-function-broken-help-me/26054/11 "2022-02-23T22:28:27Z")

</div>

Closing due to inactivity. This topic will be deleted in a few weeks if there are no more comments.

---

<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: [February 23, 2022, 10:28pm UTC](https://community.glideapps.com/t/visibility-function-broken-help-me/26054/12 "2022-02-23T22:28:28Z")

</div>



---

<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: [March 25, 2022, 10:28pm UTC](https://community.glideapps.com/t/visibility-function-broken-help-me/26054/13 "2022-03-25T22:28:32Z")

</div>



---

<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: [March 25, 2022, 10:28pm UTC](https://community.glideapps.com/t/visibility-function-broken-help-me/26054/14 "2022-03-25T22:28:32Z")

</div>


