# Update an text input field

**URL:** <https://forum.kirupa.com/t/update-an-text-input-field/246477>\
**Category:** flash\
**Created:** [December 11, 2007, 3:03pm UTC](https://forum.kirupa.com/t/update-an-text-input-field/246477 "2007-12-11T15:03:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ubermeowmix](https://avatars.discourse-cdn.com/v4/letter/u/7cd45c/32.png) [@Ubermeowmix](https://forum.kirupa.com/u/Ubermeowmix)\
**Post date:** [December 11, 2007, 3:03pm UTC](https://forum.kirupa.com/t/update-an-text-input-field/246477/1 "2007-12-11T15:03:34Z")

</div>

Flash doesn’t seem to update the info in the text boxes after a button press:

submitBtn.onRelease = function(){  
if ((userName != “”) && (userEmail != “”)){  
gotoAndStop(“end”);  
} else {  
trace(“it’s broken”);  
}  
}

Am I missing an update or something, the form is static on one page. you press a button and it submits the details. or not if the box is empty.

Any ideas?
