Example: add this code in stage/compositionReady and add a text field on your stage - this also gives properties likes color and size.
sym.$("nameBox").html("<input type='text' id='Name' placeholder='Please enter your real name'" + " maxlength='30' tabindex='1' " + " style='background-color:white; border:1px solid black; width:195px; height:20px; padding-left:5px;'>")
to retrieve the value, use:
var nameInfo = Name.value;
and send it where you want.
I think I still need some helpI put the compositionReady snippet above inside of the stage and nothing happened. No cursor appears and nothing happens when I click in the text box. I even made the background red so that I could attempt tosee the white text box. My text box isn't white and the only way I even know it is there is because I changed the cursor from arrow to pointer.
I also converted the text box to a symbol called namebox and nothing happens when I click in it. Can you clarify anything that I may not be doing?