Displaying variable value in storyline

Hi

i have assign value to variable using java script like

var player = GetPlayer();
var Password= player.GetVar("TextEntry");
var numChars= Password.length;
player.SetVar("passwordLength",numChars);

the value has assign but it doesn't display.for example i have assign 0 to passwordlength when i creating this variable, but i have to give five characters in TextEntry box  the passwordlength will be displayed 0 after execute javascript code.

6 Replies