# Input textbox not working

**URL:** https://forum.kirupa.com/t/input-textbox-not-working/182715
**Category:** Uncategorized
**Created:** [March 20, 2006, 10:39pm UTC](https://forum.kirupa.com/t/input-textbox-not-working/182715 "2006-03-20T22:39:42Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![veraxoxo](https://avatars.discourse-cdn.com/v4/letter/v/f19dbf/32.png) [@veraxoxo](https://forum.kirupa.com/u/veraxoxo)
#### Post date: [March 20, 2006, 10:39pm UTC](https://forum.kirupa.com/t/input-textbox-not-working/182715/1 "2006-03-20T22:39:42Z")

</div>

This is driving me crazy. I have an input text box. Instance name = pwd/var name = pwd.

I am trying to output what the user types into it with the code:

trace(pwd.text);

on release of a submit button.

I get “undefined” for the output. I am in scope and the box is a password input box with maximum chars of 15. I sthere a setting I am missin g?

---

<div class="post-metadata">

### Author: ![krilnon](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/krilnon/32/34_2.png) [@krilnon](https://forum.kirupa.com/u/krilnon)
#### Post date: [March 20, 2006, 10:58pm UTC](https://forum.kirupa.com/t/input-textbox-not-working/182715/2 "2006-03-20T22:58:43Z")

</div>

Don’t give it a variable name that’s the same as your instance name. You won’t need the variable anyway, as pwd.text is what you are tracing and would have the same content as your field variable.
