Forum Discussion
NeeluBera-2f144
9 months agoCommunity Member
Assistence Needed: Text Variable in Storyline
In Storyline, while using a text variable, my users need to enter their answers as bullet points. However, even after pressing enter to separate the points, they still appear on the same line when I ...
Rash
8 months agoCommunity Member
Hi!
In the above storyline file of carolynkunz​, create a button with bullet icon.
Copy the javascript file in the second slide of the storyline file.
Paste it in the first slide and execute this javascript while the button is clicked.
One slight change in the javascript file would be in the last line, instead of
player.SetVar("FormattedOutput", formattedText);
change to this, player.SetVar("TextEntry", formattedText);
It will work.