# Lock tab

**URL:** https://community.glideapps.com/t/lock-tab/67636
**Category:** Ask for Help
**Created:** [November 9, 2023, 8:35am UTC](https://community.glideapps.com/t/lock-tab/67636 "2023-11-09T08:35:05Z")
**Posts on this page:** 14
**Page:** 1

<div class="post-metadata">

### Author: ![HGK](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/hgk/32/55249_2.png) [@HGK](https://community.glideapps.com/u/HGK)
#### Post date: [November 9, 2023, 8:35am UTC](https://community.glideapps.com/t/lock-tab/67636/1 "2023-11-09T08:35:05Z")

</div>

Hey all.  
I have a doubt  
Can we make a tab that has a PIN code lock.  
So that every time we open that tab we should enter the password  
The password should be set when we create the new chat  
By the way, it’s a chat app  
Thanks in advance

---

<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: [November 9, 2023, 9:13am UTC](https://community.glideapps.com/t/lock-tab/67636/2 "2023-11-09T09:13:23Z")

</div>

You can do it, but it won’t be secure.

---

<div class="post-metadata">

### Author: ![HGK](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/hgk/32/55249_2.png) [@HGK](https://community.glideapps.com/u/HGK)
#### Post date: [November 9, 2023, 9:19am UTC](https://community.glideapps.com/t/lock-tab/67636/3 "2023-11-09T09:19:46Z")

</div>

That won’t be a problem.  
Please tell the solution

---

<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 9, 2023, 10:31am UTC](https://community.glideapps.com/t/lock-tab/67636/4 "2023-11-09T10:31:24Z")

</div>

- Add a user-specific column.
- Point a text entry to the user-specific column.
- Add all other components in a container. Set the container’s conditional visibility value to show only when the text entry value is the same as your password.

---

<div class="post-metadata">

### Author: ![HGK](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/hgk/32/55249_2.png) [@HGK](https://community.glideapps.com/u/HGK)
#### Post date: [November 9, 2023, 12:18pm UTC](https://community.glideapps.com/t/lock-tab/67636/5 "2023-11-09T12:18:47Z")

</div>

thanks 🙂

---

<div class="post-metadata">

### Author: ![HGK](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/hgk/32/55249_2.png) [@HGK](https://community.glideapps.com/u/HGK)
#### Post date: [November 9, 2023, 1:51pm UTC](https://community.glideapps.com/t/lock-tab/67636/6 "2023-11-09T13:51:14Z")

</div>

one doubt,does it reset when we exit the app?

---

<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 9, 2023, 1:56pm UTC](https://community.glideapps.com/t/lock-tab/67636/7 "2023-11-09T13:56:33Z")

</div>

If your users log in to use the app, then no.

---

<div class="post-metadata">

### Author: ![HGK](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/hgk/32/55249_2.png) [@HGK](https://community.glideapps.com/u/HGK)
#### Post date: [November 9, 2023, 2:00pm UTC](https://community.glideapps.com/t/lock-tab/67636/8 "2023-11-09T14:00:16Z")

</div>

Well, they do log in.  
So is there a way to delete the text when they exit the app?

---

<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: [November 9, 2023, 2:08pm UTC](https://community.glideapps.com/t/lock-tab/67636/9 "2023-11-09T14:08:23Z")

</div>

No, but you could set a timer on it that forces them to enter it again after a fixed period of time.

Or…

> [@HGK](#):
>
> So that every time we open that tab we should enter the password

If you make it a screen rather than a tab, then you could have an action that clears the value every time they try to open the screen, thus forcing them to re-enter the code.

---

<div class="post-metadata">

### Author: ![HGK](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/hgk/32/55249_2.png) [@HGK](https://community.glideapps.com/u/HGK)
#### Post date: [November 9, 2023, 2:09pm UTC](https://community.glideapps.com/t/lock-tab/67636/10 "2023-11-09T14:09:16Z")

</div>

how do I create the action?

---

<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: [November 9, 2023, 2:11pm UTC](https://community.glideapps.com/t/lock-tab/67636/11 "2023-11-09T14:11:16Z")

</div>

> **[Introduction to Actions](https://www.glideapps.com/docs/automation/actions)**
>
> Unlock the power of actions in Glide.

---

<div class="post-metadata">

### Author: ![HGK](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/hgk/32/55249_2.png) [@HGK](https://community.glideapps.com/u/HGK)
#### Post date: [November 9, 2023, 2:12pm UTC](https://community.glideapps.com/t/lock-tab/67636/12 "2023-11-09T14:12:14Z")

</div>

I mean the action to delete the specific cell every time they click the screen

---

<div class="post-metadata">

### Author: ![HGK](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/hgk/32/55249_2.png) [@HGK](https://community.glideapps.com/u/HGK)
#### Post date: [November 9, 2023, 2:13pm UTC](https://community.glideapps.com/t/lock-tab/67636/13 "2023-11-09T14:13:22Z")

</div>

> [@Darren\_Murphy](#):
>
> action that clears the value every time they try to open the screen

I mean like this

---

<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: [November 16, 2023, 2:13pm UTC](https://community.glideapps.com/t/lock-tab/67636/14 "2023-11-16T14:13:34Z")

</div>

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