# Form data is html formatted

**URL:** <https://forum.kirupa.com/t/form-data-is-html-formatted/261657>\
**Category:** Uncategorized\
**Created:** [May 29, 2008, 3:13pm UTC](https://forum.kirupa.com/t/form-data-is-html-formatted/261657 "2008-05-29T15:13:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chintz](https://avatars.discourse-cdn.com/v4/letter/c/48db29/32.png) [@Chintz](https://forum.kirupa.com/u/Chintz)\
**Post date:** [May 29, 2008, 3:13pm UTC](https://forum.kirupa.com/t/form-data-is-html-formatted/261657/1 "2008-05-29T15:13:32Z")

</div>

Hi.

I have this problem where input form fields in Flash return their values as html formatted text. For example a blank field returns:

\<p align=“center”\>\</p\>

And a form with text written in it has this:

\<TEXTFORMAT LEADING="-4"\>\<P ALIGN=“CENTER”\>\<FONT FACE="\_sans" SIZE=“15” COLOR="#BC210F" LETTERSPACING=“0” KERNING=“0”\>text\</FONT\>\</P\>\</TEXTFORMAT\>

Obviously this can be a problem if I have it sending data to php or javascript.

The way I’ve been dealing with this problem until now is just to make a new form field in Flash. I want to know an actual proper solution to the problem though, instead of just re-doing work.

Any ideas?
