# Unable to get the value in TextInput

**URL:** <https://forum.kirupa.com/t/unable-to-get-the-value-in-textinput/154550>\
**Category:** flash\
**Created:** [July 11, 2005, 12:53am UTC](https://forum.kirupa.com/t/unable-to-get-the-value-in-textinput/154550 "2005-07-11T00:53:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![vljw8202](https://avatars.discourse-cdn.com/v4/letter/v/0ea827/32.png) [@vljw8202](https://forum.kirupa.com/u/vljw8202)\
**Post date:** [July 11, 2005, 12:53am UTC](https://forum.kirupa.com/t/unable-to-get-the-value-in-textinput/154550/1 "2005-07-11T00:53:42Z")

</div>

I use TextInput component to capture user’s info for my contact form and invoke an asp file to send out the mail. But value entered in the TextInput somehow is not passed to ASP. Can someone help to find out what the problem is? The following is my code:

on(click){  
var LastName = this.\_parent.txtLastName.text;  
trace(LastName);  
this.\_parent.loadVariables(“email.asp”, “POST”);  
}
