Title: Hide password
Post: Is there a way to hide a password? For example, if i type "password" the screen will show "•••••••".
Answer 1 This is easily done if you use Show custom Dialog in a scrip to open up a Custom Dialog.
Specify an input field and you'll find an option for displaying the bullets instead of the actual text.
If you want this on a regular layout, it's more difficult. There used to be fonts that consisted of nothing but bullets. If you install this font and specify it for your field, you'll get the result you want. As a quick and dirty solution, I've sometimes just specified a wingding type font for this purpose.
Answer 2 See if this helps:
http://www.nightwing.com.au/FileMaker/demosX/demoX05.html
Note: using a bullet font provides very little security - users can remove/disable the font, or copy the data and paste it into another application.
Answer 3
I know this is an older post but I've been playing around with this because I did not wan to install a "bullet font" on all of my client machines. Utilizing script triggers I came up with a way to make this work. It might just work on FileMaker Go as well but I'm not going to start that part of my project for a few months.
You will need two fields, my table is called login and I am using global storage for both.
Field 1. Password - to hold the actual password
Field 2. Display Password - this field is actually on your layout where you enter the password into. For this field in your layout you need to set a Script trigger OnObjectModify. I called my script "Mask Password"
Here is the script:
If [(Length (Login::Display Password)-1) = Length (Login::Password)]
Set Variable [$PasswordTemp; Value: Login::Password]
Set Field [Login::Password; $PasswordTemp & Right (Login::Display Password;1)]
Set Variable [$DisplayPasswordTemp; Value: Login::Display Password]
Set Field [Login::Display Password; Left ( $displayPasswordTemp ; Length ( $DisplayPasswordTemp) - 1 ) & "•"]
Halt Script
End If
Set Variable [$PasswordTemp; Value: Login::Password]
Set Field [Login::Password; Left ($PasswordTemp ; Length ( Login::Display Password ))]
Go to Field [Login::Display Password]
This allows you to not only type in the password and mask it using bullets but you can backspace and correct a mistake. If you place your cursor in the middle of the field and make a change then the whole thing falls apart, but my theory is you should not do that in a password field anyway.
The character typed in the field is displayed for a fraction of a second but I could not tell what it was before it is replaced with a bullet. VPN Connection, OS Used, Computer Processor, etc. might effect this but try it out and see if it works for you. FYI I am developing in Filemaker 11 on a Mac Core Duo 2 GHz with 2 GB RAM running 10.6 , your mileage may vary.
If someone has a more elegant solution let me know. In my experience every Solution seems to have a hundred different ways to accomplish the same task. The trick is finding the elegant one that will not drag your database to a crawl.
Your new post is loading...