Javascript

Apr 15, 2015

I have the JavaScript in my story done but not sure how to make the trigger do what I want it to do...I have attached a document with some screen shots and information on what I am trying to do.  Any help would be much appreciated.  Thank you!

1 Reply
Steve Flowers

Hi Ronda - 

You left something out. Also, SL variables don't have spaces. All text fields are associated with a variable. You can see the variable assigned in the triggers panel. In this example, these two lines should get the variable from Storyline.

var player=GetPlayer();

var summarytext=player.GetVar(“TextEntry4”);

This discussion is closed. You can start a new discussion or contact Articulate Support.