Change variable based on javascript results?

Apr 08, 2016

At the end of our courses, we have a course completion certification that includes the student's name.  I use a javascript to pull in the student name from the LMS.  Some of our courses, however, are used outside of the LMS (by contractors) and we have fields built into the beginning of the course requiring  the contractor to enter their name. 

What I'd like to do is create a T/F variable "Employee" with the default set to False.  Then, have it change to True if the javascript returns a user name from the LMS.  Any ideas how to do this?

Having this will allow me to create a slide trigger which will all the user (employees) to by-pass the manual name entry page if the employee variable is true, so that only contractors see the manual name entry fields.

Any ideas?



3 Replies

This discussion is closed. You can start a new discussion or contact Articulate Support.