CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

PasswordChar equivalent

by davenovo » 20 Apr 2018 06:45

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.
davenovo
 
Posts: 98
Joined: 03 Mar 2018 19:11

by Jorge Sousa » 20 Apr 2018 15:23

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
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58

by davenovo » 20 Apr 2018 15:33

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?
davenovo
 
Posts: 98
Joined: 03 Mar 2018 19:11

by Jorge Sousa » 20 Apr 2018 16:11

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
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58

by davenovo » 21 Apr 2018 19:11

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?
davenovo
 
Posts: 98
Joined: 03 Mar 2018 19:11

by Jorge Sousa » 23 Apr 2018 11:44

Hi David

I'm afraid that there is no solution for what you request, sorry
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58


Return to JQEdit

Who is online

Users browsing this forum: No registered users and 1 guest

Contact Us.