Field type Password

Something you want to see in a LiveCode product? Want a new forum set up for a specific topic? Talk about it here.

Moderators: Klaus, FourthWorld, heatherlaine, robinmiller, kevinmiller

Post Reply
trenatos
Posts: 189
Joined: Wed Jul 03, 2013 6:46 am
Location: Virginia, USA
Contact:

Field type Password

Post by trenatos » Sun Mar 16, 2014 3:06 am

Just a small one, but it would be nice to have a checkbox to turn a text field into a password box, no more fiddling with doing that manually.
Marcus

andrewferguson
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 183
Joined: Wed Apr 10, 2013 5:09 pm

Re: Field type Password

Post by andrewferguson » Fri Apr 04, 2014 8:09 pm

I certainly agree with this request. No matter how hard I try, I can never make my password fields look like they should.

Da_Elf
Posts: 309
Joined: Sun Apr 27, 2014 2:45 am

Re: Field type Password

Post by Da_Elf » Thu May 01, 2014 11:59 am

after going through the entire forum i came up with a simple way to handle it but it would bring up two points. My way to handle it was to download a ttf called password and set that field to that password then using an installer i was able wrap the ttf up and install with the application. These are the two points. point 1: it would be nice to be able to embed fonts. point 2: it would be simplest to just have a toggle to make a field a password field

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 3811
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Field type Password

Post by richmond62 » Thu May 01, 2014 3:42 pm

Embedding fonts; cross-platform would really rock!

makeshyft
Posts: 187
Joined: Mon Apr 15, 2013 4:41 am
Contact:

Re: Field type Password

Post by makeshyft » Thu May 29, 2014 4:23 pm

on keyUp
if the short name of me contains "PassField" then
local i
lock screen
lock messages
repeat with i = 1 to the number of characters in me
if the imagesource of char i of me is not "passwordstar" then // "passwordstar" = image
set the imagesource char i of me to "passwordstar"
end if
end repeat
unlock messages
unlock screen
pass keyUp
else
pass keyUp
end if

end keyUp
Tom @
http://www.makeshyft.com
---------------------------------
Changing the Future, Today!

trenatos
Posts: 189
Joined: Wed Jul 03, 2013 6:46 am
Location: Virginia, USA
Contact:

Re: Field type Password

Post by trenatos » Fri May 30, 2014 10:36 pm

There are plenty of ways of doing it with workarounds.
Which is not the point of my original post.
Marcus

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 3811
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Field type Password

Post by richmond62 » Sat May 31, 2014 5:30 pm

I'm honestly not sure how you could do this without a "blob" font.

MaxV
Posts: 1574
Joined: Tue May 28, 2013 2:20 pm
Location: Italy
Contact:

Re: Field type Password

Post by MaxV » Fri Jun 20, 2014 9:29 am

I agree that is complicated to have a good password field. Instead of chars should appear aterisks "*", but how to handle backspace,canc,and arrow keys?
It's a lot of lines to write...
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7022
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: Field type Password

Post by FourthWorld » Fri Jun 20, 2014 3:17 pm

It would be very nice to have that as a field property in the engine, but in the meantime this could be handled quite nicely in a behavior script.

Anyone here in a position to take the time to collaborate on one for the community to use?
Richard Gaskin
Community volunteer LiveCode Community Liaison

LiveCode development, training, and consulting services: Fourth World Systems: http://FourthWorld.com
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/

Post Reply

Return to “Feature Requests”