Update an text input field

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

submitBtn.onRelease = function(){
if ((userName != “”) && (userEmail != “”)){
} 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?