# Form Button Visibility based off of list of users

**URL:** <https://community.glideapps.com/t/form-button-visibility-based-off-of-list-of-users/65438>\
**Category:** Ask for Help\
**Created:** [August 27, 2023, 4:59am UTC](https://community.glideapps.com/t/form-button-visibility-based-off-of-list-of-users/65438 "2023-08-27T04:59:47Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chris\_Heck](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/chris_heck/32/453_2.png) [@Chris\_Heck](https://community.glideapps.com/u/Chris_Heck)\
**Post date:** [August 27, 2023, 4:59am UTC](https://community.glideapps.com/t/form-button-visibility-based-off-of-list-of-users/65438/1 "2023-08-27T04:59:48Z")

</div>

I have a form button on one of my pages and i want it to be visible based off of users in a list what is the best way to do this. Its a public app so i dont have private users but i do have them sign in with a email. Right now all it sees is the first user in the list and thats it so if there are multiple users in the list it wont work for any of them besides the first user in the list. Im sure it is something simple im just overlooking it.

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [August 27, 2023, 5:05am UTC](https://community.glideapps.com/t/form-button-visibility-based-off-of-list-of-users/65438/2 "2023-08-27T05:05:12Z")

</div>

How would you describe your desired visibility condition in plain English?

That is, can you complete this sentence: “I want the form to be visible when …”

---

<div class="post-metadata">

**Author:** ![Chris\_Heck](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/chris_heck/32/453_2.png) [@Chris\_Heck](https://community.glideapps.com/u/Chris_Heck)\
**Post date:** [August 27, 2023, 4:39pm UTC](https://community.glideapps.com/t/form-button-visibility-based-off-of-list-of-users/65438/3 "2023-08-27T16:39:26Z")

</div>

so everyone submits a form that has a few questions on it i want it to not be visible to that user after they sumbit the form so they dont submit it more than once

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [August 27, 2023, 5:11pm UTC](https://community.glideapps.com/t/form-button-visibility-based-off-of-list-of-users/65438/4 "2023-08-27T17:11:58Z")

</div>

Okay, sure.

So what you could do is create “Form Submitted” boolean column in your User Profile table, and only show the form when that column is not checked. You can use a visibility condition on the form button (or whichever component you use to open the form) for that - “User Profile → Form Submitted is not checked”.

Then on the form, use an onSubmit action to set that column to `true`.

The above will work well enough if it’s just a one off. But it doesn’t really scale well if you have multiple forms to apply it to.

---

<div class="post-metadata">

**Author:** ![Chris\_Heck](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/chris_heck/32/453_2.png) [@Chris\_Heck](https://community.glideapps.com/u/Chris_Heck)\
**Post date:** [August 27, 2023, 8:54pm UTC](https://community.glideapps.com/t/form-button-visibility-based-off-of-list-of-users/65438/5 "2023-08-27T20:54:31Z")

</div>

so i don’t use a user profile table people just use a email to sign in and its a public app. So this wont work right ?

---

<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:** [August 28, 2023, 12:20am UTC](https://community.glideapps.com/t/form-button-visibility-based-off-of-list-of-users/65438/6 "2023-08-28T00:20:29Z")

</div>

Is there a reason you don’t want to use a User Profiles table?
