Forum Discussion
TracyCowan
4 months agoCommunity Member
Local Storage Issues
Howdy, I am trying to transfer user variable data between tabs during the same browser session. I have a published folder and in the story_content folder there are 2 other published storyline course...
- 4 months ago
if you read the local storage
you get the string "true" or "false"
in your script you use boolean compare
change the line - add two quotes
if(Fam_completed == "true") {
edit:
- you should check the storyline variables - are they "Text" (string) or "True/False" (boolean)
- the data types must match between storyline / javascript / localStorage
WaltHamilton
4 months agoSuper Hero
In SCORMCloud, we can try it out, and see if it does what you say it does. But if you want to know why, you can attach the .story file here. If someone can look into it, it is a lot easier to help.