# Input Box

**URL:** <https://forum.kirupa.com/t/input-box/123430>\
**Category:** Uncategorized\
**Created:** [September 23, 2004, 2:55pm UTC](https://forum.kirupa.com/t/input-box/123430 "2004-09-23T14:55:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dane](https://avatars.discourse-cdn.com/v4/letter/d/54ee81/32.png) [@Dane](https://forum.kirupa.com/u/Dane)\
**Post date:** [September 23, 2004, 2:55pm UTC](https://forum.kirupa.com/t/input-box/123430/1 "2004-09-23T14:55:58Z")

</div>

Hey

I have 2 input boxes on the main stage. I have 1 button I have made into a movie clip so the button animation will work. My problem is:  
I want it so that when I click on the button and RELEASE it gets the values in those 2 input boxes.

Input boxes have been assigned VAR

on (release) {  
if (input1VAR != “” && input2VAR != “”) {  
\_root.gotoAndPlay(2);  
}  
else {  
\_root.gotoAndPlay(3);  
}  
}

The problem is no matter what it will get the input values from the main stage… Anyone got a solution??

I did not assign an INSTANCE name for the BUTTON(movie clip)
