Forum Discussion
TracyCarroll
8 years agoCommunity Member
Help - Calling all Javascript experts!
I hope you can help me with this problem. I need to know the Javascript to insert an action in a PDF form field.
I have a client who wants learners to be able to print a PDF certificate with the u...
PhilMayor
Super Hero
It looks like the javascript to send the name to local storage is pulling it directly from the LMS and not reordering the name.
If think you only need this line in the final function
localStorage.setItem("g_certificate", player.GetVar("newName");
LauraBrunning
5 years agoCommunity Member
PERFECT, that's worked!!!!!!
Thank you so much :)
- NancyWoinoski5 years agoSuper Hero
Ah good, glad Phil could help you out. I was going to suggest a slightly different solution for reordering the name but Phil’s is much cleaner.