Forum Discussion
AndrewRost
13 years agoCommunity Member
Retrieve LMS User Name as Variable
I know you can have a user fill in a text box with their name and then later use that variable for personalization. What we would like to do is programmatically retrieve the user name from the LMS....
SteveFlowers
Community Member
Looks like you resolved this below. There isn't a good reason why the code you've shown here wouldn't work in HTML5. I am not sure if iOS will like the Date() object pushed into a variable.
I've used the same code for both Flash based and HTML5 output for quite awhile and it's worked consistently in all cases.
When testing, use a modern browser's console to show where the script is being stopped.
AlexYong1
10 years agoCommunity Member
Hi Steve,
So this is a very long thread and the original code provided way back when this thread was first started wasn't supported in HTML5 so that's why I was looking back for any new updates or changes that would allow it to work.