Forum Discussion
LonTcopp
3 years agoCommunity Member
Converting input text to a password icon/asterisk as you type?
Hello: can this be done?: Id like a user to type a password into a box. As they type, the letter are instantly concerted to small circles or asterisks as happe d when you enter a password in a sit...
PhilMayor
31 days agoSuper Hero
This has two ways of doing it, first one modifies Nedims to use '•' instead, the second uses Jean's but I added in a keydown function so updates in realtime, Nedim's is best version but this adds a • instead, either of the values get lost as soon as you execute the code.
- Jean-Guy-Boulay29 days agoCommunity Member
Sorry Guys for my previous post, PhilMayor 's post is a great template. I tried incorporating blur and focus before and could never get it to work properly. 👍 PhilMayor I added a 3rd slide that utitlizes the generic * of Nedim's code and incorporates a preventdefault that my project required. Slide 3 will completely hide what you are typing and incorporate the backspace and delete.
Related Content
- 10 months ago