Hello everyone... I’m trying to figure out the process of “password mask” in livecode and there’s a lot of code in the forum and internet I tried one it just display the (*)
on keydown var
set the hiddentext of me to the hiddentext of me & var
put "*" after me
end keydown
or
on textChanged
repeat with x = 1 to the number of chars of me
set the imageSource of char x of me to 12643
end repeat
end textChanged
I’m confuse is there a short codes for this password mask. Can you teach me on how to do the password mask
some say use the "ask password" i already did but i want to try what if i want to use a filed and not the "ask password" coz i want to explore livecode. Hope this forum can help me Thanks in advance
Password Mask in a field
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Password Mask in a field
- Attachments
-
- Ask Password.png (4.18 KiB) Viewed 2239 times
-
- Password_Mask.png (4.96 KiB) Viewed 2239 times
Thank you & God Bless Everyone
Regards,
lemodizon
Regards,
lemodizon
Re: Password Mask in a field
Hi lemodizon,
well, mimicking a password field is not a trivial task, if you want ot make it (more or less) foolproof!
Sorry, there is no easy and short way to do so.
Check this:
In LC, menu "Help", select "Sample stacks" and then enter "password" in the searchfield on the topleft.
Then scroll down a little until you see "Password field" by Devin Asay, see attached screenshot.
Download that little stack and check the behaviour script attached to the field.
Best
Klaus
well, mimicking a password field is not a trivial task, if you want ot make it (more or less) foolproof!
Sorry, there is no easy and short way to do so.
Check this:
In LC, menu "Help", select "Sample stacks" and then enter "password" in the searchfield on the topleft.
Then scroll down a little until you see "Password field" by Devin Asay, see attached screenshot.
Download that little stack and check the behaviour script attached to the field.
Best
Klaus
Re: Password Mask in a field
Thanks Klaus i'll download it check it out.
Thank you & God Bless Everyone
Regards,
lemodizon
Regards,
lemodizon