# Creating a status function

**URL:** <https://community.glideapps.com/t/creating-a-status-function/12019>\
**Category:** Feature Requests\
**Created:** [July 5, 2020, 5:43pm UTC](https://community.glideapps.com/t/creating-a-status-function/12019 "2020-07-05T17:43:43Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nicolas\_Raque](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nicolas_raque/32/10198_2.png) [@Nicolas\_Raque](https://community.glideapps.com/u/Nicolas_Raque)\
**Post date:** [July 5, 2020, 5:43pm UTC](https://community.glideapps.com/t/creating-a-status-function/12019/1 "2020-07-05T17:43:43Z")

</div>

Hi all,  
I’m quite new to the Glide app but really enjoying its features. I would like to be able to add a “status” feature to my app, allowing user to say “I’m busy”, “I’m available” etc., and changing status whenever he/she feels like it.  
I’ve really tried to find by myself how to do it, but unsuccessfully so far…would anyone have an idea?  
Thanks a lot!  
Nicolas

---

<div class="post-metadata">

**Author:** ![Glider](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/glider/32/9699_2.png) [@Glider](https://community.glideapps.com/u/Glider)\
**Post date:** [July 5, 2020, 7:23pm UTC](https://community.glideapps.com/t/creating-a-status-function/12019/2 "2020-07-05T19:23:37Z")

</div>

Why don’t you use a choice component on the users profile so when they want to change it they edit their profiles

---

<div class="post-metadata">

**Author:** ![RedHeadKev](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/redheadkev/32/2821_2.png) [@RedHeadKev](https://community.glideapps.com/u/RedHeadKev)\
**Post date:** [July 5, 2020, 7:29pm UTC](https://community.glideapps.com/t/creating-a-status-function/12019/3 "2020-07-05T19:29:14Z")

</div>

I agree with the choice component as mentioned above. If it was just 2 options the switch feature could work, too.

[Choice component](https://docs.glideapps.com/all/reference/components/pickers/choice)  
[Switch component](https://docs.glideapps.com/all/reference/components/buttons/switch)

---

<div class="post-metadata">

**Author:** ![Nicolas\_Raque](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nicolas_raque/32/10198_2.png) [@Nicolas\_Raque](https://community.glideapps.com/u/Nicolas_Raque)\
**Post date:** [July 5, 2020, 7:37pm UTC](https://community.glideapps.com/t/creating-a-status-function/12019/4 "2020-07-05T19:37:44Z")

</div>

Thanks for your replies guys,  
The thing with the choice component is that it does the job in terms of “aesthetics”, but it does not translate into real data: it does not create a “status” column in the data tab, for each user. So in the end the user can make this choice on his / her profile tab, but it is not possible to make it appear for others, as it is not actual data from the data tab. Eg, when I set up the general tab with all users, it is not possible to add as a component each user’s status, as it is no data.

---

<div class="post-metadata">

**Author:** ![Glider](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/glider/32/9699_2.png) [@Glider](https://community.glideapps.com/u/Glider)\
**Post date:** [July 5, 2020, 7:41pm UTC](https://community.glideapps.com/t/creating-a-status-function/12019/5 "2020-07-05T19:41:36Z")

</div>

Set the choice to write to your status column  
If choice is not good enough what of a checkbox

---

<div class="post-metadata">

**Author:** ![Nicolas\_Raque](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nicolas_raque/32/10198_2.png) [@Nicolas\_Raque](https://community.glideapps.com/u/Nicolas_Raque)\
**Post date:** [July 5, 2020, 7:43pm UTC](https://community.glideapps.com/t/creating-a-status-function/12019/6 "2020-07-05T19:43:34Z")

</div>

Yeeeaaah I did not see I could to that! Thanks mate 🙂

---

<div class="post-metadata">

**Author:** ![RedHeadKev](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/redheadkev/32/2821_2.png) [@RedHeadKev](https://community.glideapps.com/u/RedHeadKev)\
**Post date:** [July 5, 2020, 9:25pm UTC](https://community.glideapps.com/t/creating-a-status-function/12019/7 "2020-07-05T21:25:22Z")

</div>

What about using 2 components with differing visibility?

For the user:

- Choice component to select status using status column  
— Visibility set to “Show if current user is signed in user”

For the viewer (not the user’s profiler)

- Text component using status selection column  
— Visibility set to “Show if current user is NOT signed in user”

Again I haven’t tested it but that’s my thought process.

---

<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:** [July 6, 2020, 12:22am UTC](https://community.glideapps.com/t/creating-a-status-function/12019/8 "2020-07-06T00:22:29Z")

</div>

Kevin’s method is right. If you want to display more than just a boolean value you can have:

- One column to store the “status” and the user can change that using a switch/checkbox. It’s only available for them to choose.

- One If \> Then \> Else column to derive the text you want to show. As in status = TRUE =\> I’m available and vice versa. Then display that ITE column to the other users.

---

<div class="post-metadata">

**Author:** ![Glider](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/glider/32/9699_2.png) [@Glider](https://community.glideapps.com/u/Glider)\
**Post date:** [July 6, 2020, 8:14am UTC](https://community.glideapps.com/t/creating-a-status-function/12019/9 "2020-07-06T08:14:12Z")

</div>

I agree with you @ThinhDinh  
But don’t you think a choice component will be easier

---

<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:** [July 6, 2020, 8:15am UTC](https://community.glideapps.com/t/creating-a-status-function/12019/10 "2020-07-06T08:15:12Z")

</div>

Whatever works for him, there are multiple answers to this question.
