text field
Sarah Reichelt
sarahr at genesearch.com.au
Thu Jun 9 22:49:54 EDT 2005
> how to make a text field a password field, where characters are
> asterisks.
>
> thanks,
The only built-in way to get password entry is using the "answer
password" command.
However if you want to allow people to enter passwords into a field,
then you need to script the data entry yourself.
The easiest way is to let them enter the password as plain text and
then in a closeField handler, store the actual password somewhere
secure, perhaps in a custom property, then replace all the letters
with asterisks.
Alternatively, you can trap the rawKeyDown or keyDown messages and
append any typed characters to the stored password, while adding an
asterisk to the field.
Cheers,
Sarah
More information about the use-livecode
mailing list