Forum Discussion
RickPitman
4 years agoCommunity Member
Need some help with JavaScript
I am creating a course that is a new hire "check-in" for a weekly update on progress. Essentially each week the learner will log in and complete a short status update on specific categories with th...
JoeFrancis
4 years agoCommunity Member
The first thing that immediately pops out is that you created a new variable (player), but then refered to Player. JavaScript is case sensitive, so player, Player, and PLAYER are 3 different variables.
Next. the variable you are referencing within the parentheses needs to be wrapped in double-quotes. e.g,
var ee_id = player.GetVar("EEIDNumber");