Forum Discussion
LonTcopp
2 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...
Jean-Guy-Boulay
5 hours agoCommunity Member
Execute a javascript when the textEntry changes:
var player = GetPlayer();
const password = player.GetVar("textEntry");
const maskedString = "*".repeat(password.length);
player.SetVar("textEntry", maskedString);