# Password visibility toggle

**URL:** <https://community.thunkable.com/t/password-visibility-toggle/1519137>\
**Category:** Questions about Thunkable X\
**Tags:** beginner\
**Created:** [September 22, 2021, 5:06am UTC](https://community.thunkable.com/t/password-visibility-toggle/1519137 "2021-09-22T05:06:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sofiyah\_kamalhh](https://avatars.discourse-cdn.com/v4/letter/s/eada6e/32.png) [@sofiyah\_kamalhh](https://community.thunkable.com/u/sofiyah_kamalhh)\
**Post date:** [September 22, 2021, 5:06am UTC](https://community.thunkable.com/t/password-visibility-toggle/1519137/1 "2021-09-22T05:06:04Z")

</div>

I’m trying to create a password visibility toggle button, i.e. the password typed is shown when the ‘eye/closeeye’ button icon is clicked and hides when the ‘closeeye’ icon is clicked.

So there are two events:

1. When the eye/close eye button is clicked, it toggles between an ‘open eye’ icon and the ‘close eye’ icon.
2. If ‘open eye’ icon = true, show password else don’t show password.

This is a sample pseudocode:

When button is clicked,  
if background image ‘eye open’ = true,  
show password  
else  
hide password

Thanks in advance! 😁

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [September 22, 2021, 5:30am UTC](https://community.thunkable.com/t/password-visibility-toggle/1519137/2 "2021-09-22T05:30:11Z")

</div>

See this: [[Solved] Hide password in Thunkable? - #24 by muneer](https://community.thunkable.com/t/solved-hide-password-in-thunkable/61319/24)

---

<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, 1:15pm UTC](https://community.thunkable.com/t/password-visibility-toggle/1519137/3 "2024-11-08T13:15:10Z")

</div>


