I am trying to create an inout text box. The user will enter a code then press a button to move from scene to scene. I am having difficulty reading the text from the box.
I understand that I need to define the input box in the html markup widget. That I have done with no problem.
hypeDocument.getElementById(‘tb1.value’);
is what I am using to try to get the value of the box, but I know this syntax is wrong and I suspect I woiuld have to get through the ID of the formfield as well.
tb1 is the ID of the textbox. So I am looking for the correct syntax to get the value of the textbox.
I would appreciate even the code to get an alert to tell be the value of the textbox.