using the livecode language script code so that a field acts as a password field
Jump to turn (6)
- 1using the livecode language script code so that a field acts as a password field
- 2showStops is not a valid command
- 3lockText will not allow text to be entered.
- 4unfortunatel style password does not exist
- 5password font does not exist
- 6Nope no go, what about using 2 fields. One for the real test entered but covered
- User
using the livecode language script code so that a field acts as a password field
- Assistant
To create a password field in LiveCode, you can use the "set the showStops" command in the "openCard" handler of your card script.
For example:
-
Create a new field object on your card.
-
In the "openCard" handler, add the following code:
codeon openCard set the showStops of field "Password" to true end openCard- Replace "Password" with the name of your field.
This will allow you to create a field that behaves like a password field, by hiding the characters as they are typed in.
-
- User
showStops is not a valid command