# Visibility based on more that one condition

**URL:** <https://community.glideapps.com/t/visibility-based-on-more-that-one-condition/2032>\
**Category:** Feature Requests\
**Created:** [November 15, 2019, 10:23pm UTC](https://community.glideapps.com/t/visibility-based-on-more-that-one-condition/2032 "2019-11-15T22:23:05Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![mmgt2005](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mmgt2005/32/965_2.png) [@mmgt2005](https://community.glideapps.com/u/mmgt2005)\
**Post date:** [November 15, 2019, 10:23pm UTC](https://community.glideapps.com/t/visibility-based-on-more-that-one-condition/2032/1 "2019-11-15T22:23:05Z")

</div>

Is it possible with the visibility feature to add additional conditions?  
I have basic text that I would like to make visible if a checkbox is checked and basic text is true.

---

<div class="post-metadata">

**Author:** ![Mark](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mark/32/125_2.png) [@Mark](https://community.glideapps.com/u/Mark)\
**Post date:** [November 15, 2019, 10:32pm UTC](https://community.glideapps.com/t/visibility-based-on-more-that-one-condition/2032/2 "2019-11-15T22:32:05Z")

</div>

Not right now, but we will make that possible eventually.

---

<div class="post-metadata">

**Author:** ![david](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/david/32/62831_2.png) [@david](https://community.glideapps.com/u/david)\
**Post date:** [November 16, 2019, 12:45am UTC](https://community.glideapps.com/t/visibility-based-on-more-that-one-condition/2032/3 "2019-11-16T00:45:52Z")

</div>

For now you could use text template to construct a value like `"true true"` then test for that value.

---

<div class="post-metadata">

**Author:** ![Gerard\_Fernandez](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/gerard_fernandez/32/1183_2.png) [@Gerard\_Fernandez](https://community.glideapps.com/u/Gerard_Fernandez)\
**Post date:** [November 16, 2019, 3:15pm UTC](https://community.glideapps.com/t/visibility-based-on-more-that-one-condition/2032/4 "2019-11-16T15:15:13Z")

</div>

Would be also ok to set conditions for values in different sheets.

---

<div class="post-metadata">

**Author:** ![Mark](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mark/32/125_2.png) [@Mark](https://community.glideapps.com/u/Mark)\
**Post date:** [November 16, 2019, 3:28pm UTC](https://community.glideapps.com/t/visibility-based-on-more-that-one-condition/2032/5 "2019-11-16T15:28:37Z")

</div>

Could you give an example of what you mean?

---

<div class="post-metadata">

**Author:** ![Gerard\_Fernandez](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/gerard_fernandez/32/1183_2.png) [@Gerard\_Fernandez](https://community.glideapps.com/u/Gerard_Fernandez)\
**Post date:** [November 16, 2019, 3:48pm UTC](https://community.glideapps.com/t/visibility-based-on-more-that-one-condition/2032/6 "2019-11-16T15:48:53Z")

</div>

I have a choice block searching GDPR values in a sheet called GDPR :Row 1\> 1 Yes agree …Row 2\> 2 I do not agree

I want users to fill a form and some fields should be visible only if they have choosen 1 Yes agree in the previous choice component

---

<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 16, 2019, 4:48pm UTC](https://community.glideapps.com/t/visibility-based-on-more-that-one-condition/2032/7 "2019-11-16T16:48:24Z")

</div>

I tried using a Relation column combined with a Lookup Column to get a value from another sheet for the condition. That didn’t work, but I would think that you could us a VLOOKUP in your sheet to get a true/false value from your GDPR sheet, then test against that value to show or hide fields.

---

<div class="post-metadata">

**Author:** ![Mark](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mark/32/125_2.png) [@Mark](https://community.glideapps.com/u/Mark)\
**Post date:** [November 16, 2019, 5:16pm UTC](https://community.glideapps.com/t/visibility-based-on-more-that-one-condition/2032/8 "2019-11-16T17:16:51Z")

</div>

Jeff, would you mind describing the Relation/Lookup setup you tried that didn’t work? Do you think it should work the way you tried it?

---

<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 16, 2019, 6:00pm UTC](https://community.glideapps.com/t/visibility-based-on-more-that-one-condition/2032/9 "2019-11-16T18:00:05Z")

</div>

@Mark Looking at @Gerard_Fernandez question again, I may have misunderstood his question. I didn’t realize he was in an Add/Edit situation, so I don’t think I have a solution for him.

As for a Visibility condition based on Relation/Lookup I think I may have set it up wrong. I was using a Multiple relation with a Lookup column against that Relation. I changed the Relation to be a non-Multiple single relation. The Lookup column I created against that relation now shows up under the list of columns that can be used as a condition under Visibility.

All-in-all, I learned something, but didn’t help anybody else.

---

<div class="post-metadata">

**Author:** ![gangyao](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/gangyao/32/51_2.png) [@gangyao](https://community.glideapps.com/u/gangyao)\
**Post date:** [November 30, 2019, 7:40pm UTC](https://community.glideapps.com/t/visibility-based-on-more-that-one-condition/2032/10 "2019-11-30T19:40:05Z")

</div>

Currently encounter this problem. Hope to see the support for more than one condition soon 😉  
Trying to display “buy button” of four different amount of money, depending on two categories: profile (_participants_ or _students_), before April 1 (_Yes_ or _No_).

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/2X/5/520c7ae910e36ed09f985c45dfbdc167ec3b21bb.png)  
 ![Snipaste_2019-11-30_20-28-35](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/2X/e/e6ae8897deb9e9ac58cd7f8c26ca2b2df61f5dff.png)

---

<div class="post-metadata">

**Author:** ![Fassil\_Befekadu](https://avatars.discourse-cdn.com/v4/letter/f/df705f/32.png) [@Fassil\_Befekadu](https://community.glideapps.com/u/Fassil_Befekadu)\
**Post date:** [June 28, 2020, 9:33pm UTC](https://community.glideapps.com/t/visibility-based-on-more-that-one-condition/2032/11 "2020-06-28T21:33:21Z")

</div>

> [@Jeff\_Hager](#):
>
> now

I had a related question for you, @Jeff_Hager.

I have implemented a Switch as part of a Form submission that records the switch status in a Sheet 1. I am trying to set up a Lookup in another sheet (Sheet 2) that is supposed to check the status of the switch in Sheet 1 (I use the Lookup results to set up a visibility of a component) - but I don’t know how to do a Lookup of a switch status. Do you have any suggestion on how I might do this?

---

<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:** [June 29, 2020, 3:15am UTC](https://community.glideapps.com/t/visibility-based-on-more-that-one-condition/2032/12 "2020-06-29T03:15:05Z")

</div>

All you need is a single relation column to link sheet 2 to sheet 1. Once you have the relation set up, you can create a lookup column that will obtain the switch column value you need, from the relation. You can use that lookup value for your visibility.

---

<div class="post-metadata">

**Author:** ![david](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/david/32/62831_2.png) [@david](https://community.glideapps.com/u/david)\
**Post date:** [May 15, 2024, 3:56am UTC](https://community.glideapps.com/t/visibility-based-on-more-that-one-condition/2032/13 "2024-05-15T03:56:50Z")

</div>

Shipped.

---

<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:** [May 22, 2024, 3:57am UTC](https://community.glideapps.com/t/visibility-based-on-more-that-one-condition/2032/14 "2024-05-22T03:57:22Z")

</div>

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