Switching out JS variables
The code for certificate printing works great, but I think there is something I'm missing I thought it would be easy enough to just swap out an application variable for one of my user defined ones. More specifically the "g_oPrintOptions.strName" variable for my "learnername" variable that I have at the beginning of the course. My report file is attached the variables in question are at the very bottom. If anyone can explain why the code breaks when I swap the variables that would be helpful. I'm relatively green at JS but know HTML quite well. While I know JS in SL2 isn't officially supported I'm hoping someone with just a touch more JS knowledge can just tweak the format for me as im almost certain its a formatting error or a prefix I'm missing.