Form data is html formatted

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?