Hello,
I need the user to push a button and a text box become populated with a random phrase. I'm guessing it would be a string of phrases with separators of some sort with the random function. Anyone have example code or .capx?
Thanks!
Develop games in your browser. Powerful, performant & highly capable.
you could use choose()
on button clicked set text to = choose("this is the first line", "This is the second line", "this is the third line")
another way would be to put the sentences in a dictionary object and use the TokenAt expression.