populate a certificate.
February 9, 2005 12:00 AM
If I create a certificate page after the successfull completion of a test i need to fix the following:I have an action that changes the content of a text block to AICC_Student_Name. It works fine but the certificate will say Lastname, Firstname. I want it to be stated Firstname Lastname. Any ideas?
Discussion (2)
In both AICC and SCORM, the specification for student_name is that it displayed as : Last name, first name and middle initial.Within Lectora, it will also display it in this fashion. You could just have an entry field on the certificate page where the student must enter their name in using your own variable instead of using the SCORM/AICC student_name.
You can write an external javascript function that searches for the occurence of the first "," in the AICC_Student_Name field, get the stubstring of the string up to that point, which contains the lastname, then set a new variable to write out the student name in any format you wish, send that back to lectora, then use the new variable value to fill in your certificate.You can write an external javascript function that searches for the occurence of the first "," in the AICC_Student_Name field, get the stubstring of the string up to that point, which contains the lastname, then set a new variable to write out the student name in any format you wish, send that back to lectora, then use the new variable value to fill in your certificate.
Discussions have been disabled for this post