Help!!! Creating a Password Field
Aug 27, 2012
Hello, I have made several attempts at this I think I now have myself all confused. I have a main slide where I want a proctor to type in their password. They are provied three attempts. After each attempt I want the "submit" button to inform proctor they have two-one more attempt. If after unsuccessful attempts, I want them to end up on a slide that will provide them with instructions. If they are successful, I want them to land on a slide that will have instructions. I have all the slides created, but I am struggleing with how to set three attempts.
Sara
50 Replies
Create a numeric variable called (for example) "tries". Initial value is 0.
Each time Submit button is clicked check for valid password, check to see if "tries" is equal to 3, and increment tries by 1. To do this will require three triggers.
First trigger tests for a valid password. If true it branches away and the rest are not executed.
Second, create a trigger for the Submit button for "when clicked". The trigger action would be to "jump to slide" (your instructions slide) if "tries" variable is greater than or equal to 3.
Next trigger for the Submit button "when clicked". The trigger action would be to "adjust variable". This is where you increment "tries".
My question is, why make it a limit? There's an easier way to do this, and its just to set the initial state of the Proceed button to hidden. Then, you don't have to set a limit and it'll only change the state of the Proceed button to Normal if the proctor enters the correct password. You can bypass the variables portion of this and make less work for yourself.
Check this out...
I got this to work, but now I need to have ******* characters display in the password field instead of the actual password when typed in; any ideas?
Not sure about **** ,but if you don't want the password to show just use white text on the white background
Good idea Doug. I really would like for it to display the ***** characters. thank you.
This is actually not to difficult to set up... I followed Doug's advice and made the text entry box text color the same as the text entry field's background color. Then, using a separate text box, I overlaid a bunch of asterisks ontop of the box and set it to hidden. Then, it turns on with the trigger: change state of Text box 2 ***** to Normal when the control loses focus (on the text entry field).
You can play with the timing of this, and if you want to make it complicated, add some states to the ***** text box to increase or decrease based on how many letters the person is putting in. But I just kept this version simple.
Take a look:
Also, if you add an additional trigger Change state of text box 2 ****** to hidden when user clicks (text entry field) it'll remove the ***** when the user clicks the box and automatically highlight their password so they can edit it.
Additional trigger added
I found a possible solution to this problem. Download a font in which all characters are asterisks (or something similar). I used a free font on Dafont.com called Rosette. Just install the font and assign it to the text entry field that gathers your password. When the user types, they will only see the asterisks (or some semblance thereof), but Storyline will still recognize and treat the characters as the appropriate letters. This particular font doesn't include symbols for numbers or caps. You might have to search a little harder to find a font that exhaustively replaces all possible characters with asterisk-like symbols.
Thanks Tim for sharing that idea here!
Thanks for the idea Tim! I found the attached "password" font works great. Just install the font on your computer and then set the field font accordingly.
Hi John and welcome to E-Learning Heroes Glad you found this thread useful as well and thanks for sharing :)
Here's one that I use:
http://www.garmin1000.com/menu/story.html
Hi Russ! Purchase a password? Love it!
John, you just saved me! Thanks so much for this.
Glad to hear it Lisa! Thanks for sharing
I don't want to rain on anyone's parade, but make sure you test it on a machine that does not have the font installed.
Input fields are dynamic, so to say. Once published they will default to a standard web font if the font is not installed. The only way I've found to mimic a password field is similar to what Jesse suggests.
If you've used Flash you know you can embed fonts for special formatting. Not so with SL and it would be nice to have a check box to make an input box a password field similar to Flash.
Hi John,
Thanks for sharing password font software.
Thanks for the feedback Bill (sounds like a lesson learned there).
Prakash, glad you were able to find some helpful information here as well
I just ran into this problem. The password is "bulleted" out as it should be when I run it from both my Desktop and on the lms; however, my users see the actual characters/keystrokes that they type for the same file on the same lms.
Is there no workaround for this?? My program is about to be released, and we just discovered this!
Hi Lisa,
As Bill mentioned, if the user's computer doesn't have the font installed it may not display as expected in a text entry. Did you try the method mentioned by Jesse earlier in this thread?
Thanks Nick for sharing here - I just saw your other thread as well!
Just wanted to say you all are awesome. I was looking for something like this and found it in a few minutes.
Thanks a lot.
Thanks John, you have given a nice idea to hide text. Thank you very much. I was worried that it happens in storyline on not. but now m very happy to have this trick.. :)
Glad that this thread was able to assist you as well Vimal! Thanks for sharing.
This discussion is closed. You can start a new discussion or contact Articulate Support.