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....
JørgenNielsen
11 years agoCommunity Member
Hello Chris
If the name is in a variable called stName, you can use this:
stName = stName.charAt(0).toUpperCase() + stName.slice(1);