Hide/Show Password Feature on Webflow Site with 'Users'

I am working on a Webflow Site with ‘user’ pages.

I am trying to edit the login pages on these so that the website users can hide/show password when entering their passwords. I notice that this does not seem to be a feature currently. I am open to implementing custom code if needed, but was wondering if anyone had better solutions to this issue.

Thanks

I haven’t tried this but you might be able to toggle the field type from password to text, and back again.

I’m suspicious that there may be security constraints around this, like the field might empty when you change the field type- in which case you’d need to research how this is typically setup.

It’s possible that solutions just use a plain text field with a password font and swap it.

1 Like

Actually did a quick test on this- simply changing the field type works.

Hey! We’ve made this solution for hiding and showing passwords - it works with a Memberstack form, but I don’t see why it also wouldn’t work on a site with Webflow user accounts.

This script does exactly what @memetican mentioned and changes the field type, so I assume it will work! Good luck

1 Like

This worked for me perfectly. Thank you

1 Like