Creating User Name & Password field
Copy link to clipboard
Copied
Hi All
I am using Captivate5 and I am in process of making a quiz for my team. I have done some trials and I am confident with building a quiz and gettiong it to work.
Here is my problem:
I want a login page at the start of the quiz. I want the user to type in thier name and the password would be thier staff number i.e
A Smith = 12345678
B Smith = 23456789
C Smith = 34567890
and so on.
Only once the user name corresponds with correct staff number, user can proceed with the quiz.
I am new to Captivate and would appricate if you guys can provide a step by step approach so that I can find my way around all the options 🙂
Regards
Copy link to clipboard
Copied
Hello and welcome to the forum,
There is a recent thread about this on the forum.
Normally the validation of the account is a functionality of a LMS. Do you really want to do this within Captivate? It is possible, but you'll have to create advanced actions. And you are talking about how many possible accounts?
Lilybiri
Copy link to clipboard
Copied
Thanks Lilybiri
I think there will be about 30+ accounts/users.
I take it that doing validation and creating scripts are a real pain!
Any other suggestion?
Copy link to clipboard
Copied
Hello,
Real pain is a little bit exaggerating, the script is not that difficult (bit tedious because of the repetition needed for the 30 possibilities) but normally this is not a functionality that should be done by Captivate.
The username entered will have to be stored in a user variable, that can be done by associating the entry in the TEB to this variable (Properties panel). Based on this entry you will have to launch an advanced condtional action with 30 decisions (sort of questions) that compares this user variable with the 30 possible usernames. If one of them is OK, the corresponding password can be stored in a second user variable. If none is correct an error caption will be showed.
When the password is entered in the second TEB, the submit button (or shortcut key) should launch a second advanced conditional action that checks if the entry in this TEB corresponds with the value stored in the second user variable. Depending on this check the account will be accepted or another error caption pops up.
That is all. And really I do not see another way, except using a LMS or reporting to acrobat.com or an internal webserver. Do you want to try it? Did you already create advanced actions?
Lilybiri
Copy link to clipboard
Copied
You could make your life a lot easier by just inventing a fictitious user with a username and passord (employee number) that you supply to them before the login page. If all you're testing is their ability to login to the application (which is usually unnecessary as something to test) then it shouldn't matter which username and password they use.
If you insist that it must be exact for the 30+ users in your team then I think you will just end up creating something that will haunt you for years. What happens when you add someone new to your team? What happens when someone leaves? Are you going to edit and upload another version of your course everytime something changes?

