Page 1 of 1
PasswordChar equivalent

Posted:
20 Apr 2018 06:45
by davenovo
Hello,
I am making a form to let the user change their password.
I just want the edit field to show a * instead of showing the lettter. In Delphi TEdit I would just set the PasswordChar property of the TEdit.
If I set PasswordPrompt to True, it does show a * but then chrome prompts to save the password, which I dont want. I just want to show a * instead of the typed characters.
Re: PasswordChar equivalent

Posted:
20 Apr 2018 15:23
by Jorge Sousa
Hi
As you can see here
https://stackoverflow.com/questions/41217019/how-to-prevent-a-browser-from-storing-password/41217255
This a browser thing, there a few tweaks, but we couldn't rely on them to make our code
Re: PasswordChar equivalent

Posted:
20 Apr 2018 15:33
by davenovo
In any web program I have used, if I change my password, (i.e. enter a new password, confirm new password) I am never prompted to store the password by the browser. It just does not show the characters I am typing, it shows a little circle or whatever. Is there a way to just hide what is being typed, without it officially being a "password" field?
Re: PasswordChar equivalent

Posted:
20 Apr 2018 16:11
by Jorge Sousa
Hi
Is there a way to just hide what is being typed, without it officially being a "password" field?
Alleged there is as you can see in the link i posted before
Re: PasswordChar equivalent

Posted:
21 Apr 2018 19:11
by davenovo
Hello,
The posts above is if you mark something as a "password" field.
What I want is just an edit control where you cannot see what someone is typing.
For example, lets say that the user has a security question, and I do not want anyone to see what they are typing as the answer. This is not their password, it is just some edit control where you cannot see what the user is typing. How do I do that?
Re: PasswordChar equivalent

Posted:
23 Apr 2018 11:44
by Jorge Sousa
Hi David
I'm afraid that there is no solution for what you request, sorry