# Event OnClick TAB and clear the Text Entry value

**URL:** https://community.glideapps.com/t/event-onclick-tab-and-clear-the-text-entry-value/42948
**Category:** Feature Requests
**Created:** [June 10, 2022, 5:16pm UTC](https://community.glideapps.com/t/event-onclick-tab-and-clear-the-text-entry-value/42948 "2022-06-10T17:16:40Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![lsem2020](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/lsem2020/32/40706_2.png) [@lsem2020](https://community.glideapps.com/u/lsem2020)
#### Post date: [June 10, 2022, 5:16pm UTC](https://community.glideapps.com/t/event-onclick-tab-and-clear-the-text-entry-value/42948/1 "2022-06-10T17:16:40Z")

</div>

Hello, Experts. Please tell me how to clear the Text Entry value entered on the previous TAB when changing TAB? And is it possible to handle the TAB press event?

---

<div class="post-metadata">

### Author: ![justinjmp](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/justinjmp/32/43205_2.png) [@justinjmp](https://community.glideapps.com/u/justinjmp)
#### Post date: [June 10, 2022, 5:55pm UTC](https://community.glideapps.com/t/event-onclick-tab-and-clear-the-text-entry-value/42948/2 "2022-06-10T17:55:40Z")

</div>

Is your text entry linked to a row on your sheet? Is it on a form? Is it going between screens?

If it’s tied to a row and you would not like that row to store data you can create a button with an action to clear the row on press.

---

<div class="post-metadata">

### Author: ![lsem2020](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/lsem2020/32/40706_2.png) [@lsem2020](https://community.glideapps.com/u/lsem2020)
#### Post date: [June 10, 2022, 7:13pm UTC](https://community.glideapps.com/t/event-onclick-tab-and-clear-the-text-entry-value/42948/3 "2022-06-10T19:13:30Z")

</div>

The goal is to clear the password input field on Tab1 (parent feed), when working on Tab2 (Child feed) I would clear the password field in the table.

---

<div class="post-metadata">

### Author: ![justinjmp](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/justinjmp/32/43205_2.png) [@justinjmp](https://community.glideapps.com/u/justinjmp)
#### Post date: [June 10, 2022, 9:05pm UTC](https://community.glideapps.com/t/event-onclick-tab-and-clear-the-text-entry-value/42948/4 "2022-06-10T21:05:23Z")

</div>

Ok then depending on how you set it up you could use the clear column value option with a button to clear the column that stores this value. You just have to make sure that the table that is being used for data is the same that contains the value.

If it is an editable field already - where you allow users to edit, you could use a text entry form with user specific columns for users to edit.

However, considering the passwords would be stored in plain text, I wouldn’t say that the solution of using passwords in this manner would be secure. I’ll let others comment on if there is a better solution for security. Eg. Creating a private app with users stored in a predefined table.
