# Visibility based on a action

**URL:** <https://community.glideapps.com/t/visibility-based-on-a-action/8334>\
**Category:** Ask for Help\
**Created:** [May 2, 2020, 6:14am UTC](https://community.glideapps.com/t/visibility-based-on-a-action/8334 "2020-05-02T06:14:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![chethan\_M](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/chethan_m/32/2155_2.png) [@chethan\_M](https://community.glideapps.com/u/chethan_M)\
**Post date:** [May 2, 2020, 6:14am UTC](https://community.glideapps.com/t/visibility-based-on-a-action/8334/1 "2020-05-02T06:14:14Z")

</div>

Hi ,  
In my app there i store contact information of vendors …  
My requirement is that I want to show the contact information to the users only if the person shares the app info ( by clicking the share button)(I.e… the contact info button should be visible only when the user clicks the share button to share app info )

How this can be achieved in glide

---

<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:** [May 2, 2020, 12:24pm UTC](https://community.glideapps.com/t/visibility-based-on-a-action/8334/2 "2020-05-02T12:24:41Z")

</div>

My only recommendation would be to use a form button to submit something (email, or phone) to a sheet. Then use zapier or a script to send the relevant info to the contact that was submitted. Then set up a relation in the user profile sheet to look for a matching email of person who shared the link. Then you can set visibility on the contact info if that relation is not empty.

---

<div class="post-metadata">

**Author:** ![chethan\_M](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/chethan_m/32/2155_2.png) [@chethan\_M](https://community.glideapps.com/u/chethan_M)\
**Post date:** [May 2, 2020, 1:47pm UTC](https://community.glideapps.com/t/visibility-based-on-a-action/8334/3 "2020-05-02T13:47:35Z")

</div>

Ok… will try this out
