View Single Post

#1
Bookmark and Share!
trying to strip formatting from input text field
Old 2009-06-28

hello,

I am not sure if I can word this correctly:
I am using Flash CS3 (but using actionscript 2.0 due to some constraints).

I have a text input box called 'chart_history' which is a multiline input text field.
When I send it to either a url or use mailto to send an email message, I get a lot of extra information about the text such as:
<TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="14" COLOR="#000000" LETTERSPACING="0" KERNING="0">asdf</FONT></P></TEXTFORMAT>

how do I strip this out?
for the properties for the input box, I made sure that the option for 'Render text as HTML' is unchecked (and I tested with this both checked and unchecked and both times I get this).

my line to send via email:
getURL("mailto:"+to+"?subject="+subject+"&body="+body);

(where body is chart_history + <other boxes>).

thank you for looking at this.
postbit arrow 6 comments | 303 views postbit arrow Reply: with Quote   
greebzilla
Registered User
greebzilla is offline
seperator
Posts: 4
2009-06-22
seperator

Ultrashock Member Comments: