after calling function from another function after get input, previous text entered persists

Hi, I'm having an annoying problem that persists even after hours and hours of research. I'm putting together a fake computer that you navigate through menus. Using get input, depending on the result I get I call different custom functions. The problem is, when another function is called, and I use get input again, the text enter from the previous get input doesn't go away, which I imagine would be confusing for the player. Any suggestions on how to solve this?


For anyone who might be interested, after a lot of experimentation, I finally solved this problem. JS.eval ("$('#txtCommand').val('');") just use it before another get input, and you're good


Thanks for sharing your solution!

New to quest, but I intend to have a realm in my game that is Star Trek/Star Wars feel, this should come in handy!