# Problem with textbox

**URL:** <https://forum.kirupa.com/t/problem-with-textbox/177770>\
**Category:** flash\
**Created:** [February 5, 2006, 3:37am UTC](https://forum.kirupa.com/t/problem-with-textbox/177770 "2006-02-05T03:37:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![armanique](https://avatars.discourse-cdn.com/v4/letter/a/96bed5/32.png) [@armanique](https://forum.kirupa.com/u/armanique)\
**Post date:** [February 5, 2006, 3:37am UTC](https://forum.kirupa.com/t/problem-with-textbox/177770/1 "2006-02-05T03:37:31Z")

</div>

Hi. I have a problem with the text box. See attachment.

In frame 2, movie randomSet02 in the layer instructions, first frame, there is the text box and check answer button. I tried using the variable input01 to capture the user’s input but when i click the check answer button, it cant detect the variable.

my script is as follows:

on (press)  
{  
trace(test.input01);  
if (input01 == “0.9105”)  
randomset2\_ans01\_prompt\_right.\_visible=true;  
}

I always get the input01 as undefined. Please advise. Really need the help as I am stuck on this. Thanks.
