Forum Discussion
create password check with triggers and variables in articulate storyline
Hi I want my user to enter a password and I want the storyline to show if the password meets all the criteria like the length of the password, has one number, one special character, one uppercase and one lowercase alphabet I used triggers, and variables to create the same but it doesn't work it shows the same slide no matter what is the input by the user. please help!
- WaltHamiltonSuper Hero
This trigger, and others like it won't work.
If the learner types the actual words "any number" for the password, hasNumber will be set to true, otherwise, it will be set to false.
You need to examine each character the learner types for the password to determine what type of character it is. SL has no option to do that, so you need to use Javascript.
The way you've written the triggers makes me think you have some programming in your background, so I imagine you can probably do it.
- MercyVimalaCommunity Member
Okay thank you
- MercyVimalaCommunity Member
But with javascript, I can not preview even after I publish the project
- MercyVimalaCommunity Member
please help me with the code actually I have never written a code I tried with chat got but doesn't work that's why I was trying with the triggers
- MercyVimalaCommunity Member
chat gpt*