# Hide Button after an "RSVP"

**URL:** https://community.glideapps.com/t/hide-button-after-an-rsvp/18356
**Category:** Ask for Help
**Created:** [November 13, 2020, 3:23pm UTC](https://community.glideapps.com/t/hide-button-after-an-rsvp/18356 "2020-11-13T15:23:22Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Carolus\_Holman](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/carolus_holman/32/16381_2.png) [@Carolus\_Holman](https://community.glideapps.com/u/Carolus_Holman)
#### Post date: [November 13, 2020, 3:23pm UTC](https://community.glideapps.com/t/hide-button-after-an-rsvp/18356/1 "2020-11-13T15:23:22Z")

</div>

I have an app where members can RSVP to an event, once they have RSVP’d I want the Button to be either disabled, overwrite the form data that exist on button press to prevent duplicates or just be removed from the screen. Is this possible without a lot of Sheet -Gymnastics? Seems like something that should be easy to solve, but I can’t seem to find anything as far as guidance.  
Thanks.

---

<div class="post-metadata">

### Author: ![Pratik\_Shah](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/pratik_shah/32/12416_2.png) [@Pratik\_Shah](https://community.glideapps.com/u/Pratik_Shah)
#### Post date: [November 13, 2020, 3:25pm UTC](https://community.glideapps.com/t/hide-button-after-an-rsvp/18356/2 "2020-11-13T15:25:34Z")

</div>

You can use visibility condition. If user has RSVP, the button/component will not be visible anymore.

---

<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: [November 13, 2020, 3:34pm UTC](https://community.glideapps.com/t/hide-button-after-an-rsvp/18356/3 "2020-11-13T15:34:32Z")

</div>

You would have a RSVP Sheet with columns for Email, Event ID, RSVP and Timestamp (Optional).

Create a relation matching the Event ID in the original sheet to the RSVP Sheet, make it multiple matches. Make a joined list column in the Event sheet, returning all Emails.

Hide the button if the joined list includes signed-in user’s email.

---

<div class="post-metadata">

### Author: ![Carolus\_Holman](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/carolus_holman/32/16381_2.png) [@Carolus\_Holman](https://community.glideapps.com/u/Carolus_Holman)
#### Post date: [November 13, 2020, 3:34pm UTC](https://community.glideapps.com/t/hide-button-after-an-rsvp/18356/4 "2020-11-13T15:34:39Z")

</div>

I saw that but I am unable to get the data from the Target Sheet to test for the condition. I made the Button an “Add Row” button, but since the button doesn’t have any feedback, this led to users pressing it multiple times, then I added a FORM to submit the data to a “Sign Up” sheet. THis work well however I cannot check the “Target” or “SignUp” sheet for existing values in sheet, so a Use case would be that if someone has already signed up, either hide the submit check mark, or just submit gracefully, not adding a row? Does this make sense? Thanks!

---

<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: [November 13, 2020, 3:35pm UTC](https://community.glideapps.com/t/hide-button-after-an-rsvp/18356/5 "2020-11-13T15:35:32Z")

</div>

Another way for you to go with this is to have a user-specific boolean column in the Events sheet.

Make a compound action like this.

- Add row (to RSVP Sheet like above)
- Set column (Set a Boolean column in the Event sheet to true)
- Show notification that the RSVP is recorded.
- Hide the button if Boolean is true.

---

<div class="post-metadata">

### Author: ![Carolus\_Holman](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/carolus_holman/32/16381_2.png) [@Carolus\_Holman](https://community.glideapps.com/u/Carolus_Holman)
#### Post date: [November 13, 2020, 3:52pm UTC](https://community.glideapps.com/t/hide-button-after-an-rsvp/18356/6 "2020-11-13T15:52:47Z")

</div>

thank you! that worked great!
