# Problem with reading input box content

**URL:** <https://forum.kirupa.com/t/problem-with-reading-input-box-content/205100>\
**Category:** flash\
**Created:** [October 26, 2006, 6:07am UTC](https://forum.kirupa.com/t/problem-with-reading-input-box-content/205100 "2006-10-26T06:07:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![vega](https://avatars.discourse-cdn.com/v4/letter/v/b19c9b/32.png) [@vega](https://forum.kirupa.com/u/vega)\
**Post date:** [October 26, 2006, 6:07am UTC](https://forum.kirupa.com/t/problem-with-reading-input-box-content/205100/1 "2006-10-26T06:07:11Z")

</div>

I have two input text fields in one of the projects and I am trying to read their content with actionscript and pass them to cookies. The problem is really silly. I have different _var_ names assigned to each of the boxes which are then being read with a simple actionscript, but on reading it gives the whole html type format string containing tags and everything along with the text. Something like :

```php
<TEXTFORMAT LEADING="2">
<P ALIGN="LEFT">
<FONT FACE="_sans" SIZE="12" COLOR="#999999" LETTERSPACING="0" KERNING="0">
username
</FONT>
</P>
</TEXTFORMAT>

```

I have the ‘Render text as html’ option turned off (didn’t work even with it turned on in any case). It works perfectly if I give instance names to the boxes and use instanceName.text format to read the content. I know it used to work earlier but can not figure out what I am doing wrong this time.

Will appreciate if anyone can help me out with this silly problem.

Thanks
