# User inputed name in comments

**URL:** <https://forum.inductiveautomation.com/t/user-inputed-name-in-comments/11816>\
**Category:** Ignition\
**Created:** [June 15, 2016, 10:08pm UTC](https://forum.inductiveautomation.com/t/user-inputed-name-in-comments/11816 "2016-06-15T22:08:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![iheartada](https://avatars.discourse-cdn.com/v4/letter/i/6de8d8/32.png) [@iheartada](https://forum.inductiveautomation.com/u/iheartada)\
**Post date:** [June 15, 2016, 10:08pm UTC](https://forum.inductiveautomation.com/t/user-inputed-name-in-comments/11816/1 "2016-06-15T22:08:19Z")

</div>

Hello

what I would like to do is have a window that has a comment panel, and text label and a text input box  
from the text fox I would like the user to be able to input a name.

window is named “window”  
text label has default name  
text box is named “name”  
comment panel is “comments”

How do I reference the text box in scripting?  
the text box is named “name”  
I have tried  
source.parent.windowname.getComponet(“name”)

thanks

also I have tried to use mouse movements to trigger the naming to go off
