# IS there a way to set the SecureTextEntry to false?

**URL:** https://community.thunkable.com/t/is-there-a-way-to-set-the-securetextentry-to-false/52868
**Category:** Questions about Thunkable X
**Created:** [October 20, 2018, 4:50pm UTC](https://community.thunkable.com/t/is-there-a-way-to-set-the-securetextentry-to-false/52868 "2018-10-20T16:50:31Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![AcrobatEpee](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/acrobatepee/32/26336_2.png) [@AcrobatEpee](https://community.thunkable.com/u/AcrobatEpee)
#### Post date: [October 20, 2018, 4:50pm UTC](https://community.thunkable.com/t/is-there-a-way-to-set-the-securetextentry-to-false/52868/1 "2018-10-20T16:50:31Z")

</div>

Hey I am making an app with a password and I would like that when a user clicks on a button the text entry turns to secure or to unsecure each time, how may I proceed ? Thanks !

If it is not possible, is there a way to modify the time before a letter becomes hidden ?

---

<div class="post-metadata">

### Author: ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)
#### Post date: [October 21, 2018, 6:17am UTC](https://community.thunkable.com/t/is-there-a-way-to-set-the-securetextentry-to-false/52868/2 "2018-10-21T06:17:20Z")

</div>

There is no block for changing the SecureTextEntry property. You can try this: on top of the input text field, arrange the Label to the full width of the field. Add a timer that will read the number of characters entered and display this number with asterisks in the Label. If the user wants to see the characters entered (Switch = on) Label.width = 0, if the user needs hidden input (Switch = off) Label.width = 100%.

---

<div class="post-metadata">

### Author: ![AcrobatEpee](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/acrobatepee/32/26336_2.png) [@AcrobatEpee](https://community.thunkable.com/u/AcrobatEpee)
#### Post date: [October 21, 2018, 11:07am UTC](https://community.thunkable.com/t/is-there-a-way-to-set-the-securetextentry-to-false/52868/3 "2018-10-21T11:07:29Z")

</div>

I already tried this and the delay is huge, I’m going to try to find a way to optimize it, because the thing is that I need the user to be able to see what he writes and edit it, which is not possible with the label, thanks !

Also, is it possible to set the % within the blocks ?!?

---

<div class="post-metadata">

### Author: ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)
#### Post date: [October 21, 2018, 11:13am UTC](https://community.thunkable.com/t/is-there-a-way-to-set-the-securetextentry-to-false/52868/4 "2018-10-21T11:13:11Z")

</div>

Also, is it possible to set the % within the blocks ?!? - yes.

![%D0%B8%D0%B7%D0%BE%D0%B1%D1%80%D0%B0%D0%B6%D0%B5%D0%BD%D0%B8%D0%B5](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/5/f/5f2c6a79701a38e52e4678d68dd261e29bfb3dbe.png)

I did not understand how the user can see what he is writing if the hidden char \* are displayed?

---

<div class="post-metadata">

### Author: ![AcrobatEpee](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/acrobatepee/32/26336_2.png) [@AcrobatEpee](https://community.thunkable.com/u/AcrobatEpee)
#### Post date: [October 21, 2018, 11:18am UTC](https://community.thunkable.com/t/is-there-a-way-to-set-the-securetextentry-to-false/52868/5 "2018-10-21T11:18:06Z")

</div>

Now I can do your way thanks ! I didn’t know it was possible to set %.

Thank you so much !

---

<div class="post-metadata">

### Author: ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)
#### Post date: [October 21, 2018, 11:23am UTC](https://community.thunkable.com/t/is-there-a-way-to-set-the-securetextentry-to-false/52868/6 "2018-10-21T11:23:42Z")

</div>

I understand you want to make the last letter visible.

---

<div class="post-metadata">

### Author: ![AcrobatEpee](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/acrobatepee/32/26336_2.png) [@AcrobatEpee](https://community.thunkable.com/u/AcrobatEpee)
#### Post date: [October 21, 2018, 11:51am UTC](https://community.thunkable.com/t/is-there-a-way-to-set-the-securetextentry-to-false/52868/7 "2018-10-21T11:51:35Z")

</div>

Hey @actech, I succeeded in making them visible or not, but now I can’t manage to save the data. In my firebase I save the data from textinput1 (The one which is hidden), so I tried to make is so that when the user finished to enter his data with the textinput2 (The one which is shown), it sets the data of textinput1 to textinput2, but it failed.

![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/6/1/617b32b764fb86656a59cbacdc37e10983f1a70a.png)

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/f/0/f052c7f74492212a9542c4a42f061644de449a6d.png)

![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/8/0/8012acde75b8f8eeab09e62dc405721c89f82648.png)

Any ideas ? Thanks !

---

<div class="post-metadata">

### Author: ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)
#### Post date: [October 21, 2018, 1:11pm UTC](https://community.thunkable.com/t/is-there-a-way-to-set-the-securetextentry-to-false/52868/8 "2018-10-21T13:11:23Z")

</div>

What means failed to assign textinput2? Data is not copied from this field?

---

<div class="post-metadata">

### Author: ![AcrobatEpee](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/acrobatepee/32/26336_2.png) [@AcrobatEpee](https://community.thunkable.com/u/AcrobatEpee)
#### Post date: [October 21, 2018, 1:24pm UTC](https://community.thunkable.com/t/is-there-a-way-to-set-the-securetextentry-to-false/52868/9 "2018-10-21T13:24:31Z")

</div>

It works niw, Thunkable Live doing its thing again I guess. Thanks !

---

<div class="post-metadata">

### Author: ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)
#### Post date: [October 21, 2018, 2:30pm UTC](https://community.thunkable.com/t/is-there-a-way-to-set-the-securetextentry-to-false/52868/10 "2018-10-21T14:30:39Z")

</div>

The scrTextUtils1 screen shows my version of the implementation of secret input.

[https://x.thunkable.com/projects/5b62ee9338e652270d9c53a9/project/properties/designer/](https://x.thunkable.com/projects/5b62ee9338e652270d9c53a9/project/properties/designer/) (for iOS only)

---

<div class="post-metadata">

### Author: ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)
#### Post date: [November 8, 2024, 11:55am UTC](https://community.thunkable.com/t/is-there-a-way-to-set-the-securetextentry-to-false/52868/11 "2024-11-08T11:55:03Z")

</div>


