cmi.core.student_nameSyntax: LMSGetValue("cmi.core.student_name"); Responsibility: The LMS has the sole responsibility for this item. Data: CMIString255 - A set of ASCII characters with a maximum length of 255 characters. Description: Returns the official name used for the student on the course roster maintained by the LMS. This is the complete name, not just the first name, in the format lastName, firstName middleInitial, e.g. Doe, John A. Example Javascript: The following JavaScript reads the student name set by the LMS into the variable studentID and then extracts the last name and first name/middle intials into the variables lastName and firstName. It then setups two functions that can be used to return the first and last names using the JavaScript calls "getFirstName();" and "getLastName();".
|
|