I use native.newTextField () to create 2 input box, returns the handle is text1 and text2, how should I write to obtain user input value corresponding to text1 and text2, for example, when the user edits, I know he is just editing text1, without editing the te
I believe “event.target” of the “userInput” event is what you’re looking for. You can see what properties are available to you here:
https://docs.coronalabs.com/api/event/userInput/index.html
Brent
I believe “event.target” of the “userInput” event is what you’re looking for. You can see what properties are available to you here:
https://docs.coronalabs.com/api/event/userInput/index.html
Brent