Compliance Training Sign-Off

Jun 27, 2023

Hi-

I have built a compliance training in Storyline 360 and am requiring the learner to enter their name at the end to agree with the compliance statement.

Is there a way to prevent them from being able to enter gibberish instead of their name? I know there is no sure way to require they enter their actual name, but is there a way to decrease the likelihood? 

 

3 Replies
Bianca Woods

Hi Kerry. If you're using a text entry field, then the only inputs accepted are alphanumeric characters. That does limit the possibility for gibberish slightly, but not entirely.

There are two low-tech solutions, though, that may further prevent people from entering nonsense. First, you could include a statement before the text entry field that explains why it's so important for them to enter their actual name. Sometimes just knowing why they need to do something can motivate people to do the right thing. Second, if their name is being recorded in your LMS, you could simply have your last screen be an attestation that they "sign" with a check box or button. That takes the possibility of gibberish completely off the table.

I hope one of these two ideas might work for your situation.

David Crocker

If you are using an LMS, we have used this small piece of Javascript to pull the name of the participant from the LMS. This would stop any jibberish.

You will need to create text variables firstName, lastName and fullName (case dependant) in your course.

 var player = GetPlayer();
 
function findLMSAPI(win) {
 
if (win.hasOwnProperty("GetStudentID")) return win;
 
else if (win.parent == win) return null;
 
else return findLMSAPI(win.parent);
}
 
var lmsAPI = findLMSAPI(this);
var myName = lmsAPI.GetStudentName();
var array = myName.split(',');
var firstName = array[1];
var lastName = array[0];
var fullName = array[1] + " " + array[0];
 
player.SetVar("firstName", firstName);
player.SetVar("lastName", lastName);
player.SetVar("fullName", fullName);
}
 
You can trigger this to happen when the agreement slide starts and use the appropriate variable instead of asking them to enter their name.
 
We have used this on several different LMS's and it has always worked.
 
As an aside, you could put the trigger on the master slide and then use the variables to address the participant by name throughout your course.