Applab Prompt issues


#1

When I run this code:
onEvent(“start”, “click”, function(event) {
var name = prompt(“name”);
setText(“id”, name);
var food = prompt(“fav food”);
setText(“id”, name + food);
});

I want it to prompt, show text, then prompt, but it goes prompt,prompt text. Any ideas?


#2

This is a known bug so for now at least the program won’t run as you’re attempting when using prompt(). Our engineers are aware of the issues with how that command runs but I can’t speak to when it’s prioritized to be fixed. Sorry not to have a better answer but wanted to make sure you didn’t think you were doing something wrong.