Forum Discussion

WahyuHidayat-fd's avatar
WahyuHidayat-fd
Community Member
3 years ago

Double - character text when type single character.

hi,

I try to input text using the following JavaScript:

 

var player = GetPlayer();

var addA = player.GetVar("search") + "A";

player.SetVar("search", addA);

 

and I using the following trigger :

but, when I type "A" on keyboard, I get double characters "AA".

 

Any help appreciated,

 

No RepliesBe the first to reply