PDA

View Full Version : <p> tags in text fields set to HTML???



superG
March 4th, 2003, 03:38 PM
We have invalid characters in text fields ie: <p> tags, when loading data from a local object (even though the text field is set to render as HTML) ????????

Questions:
1) has anyone encountered this before?
2) know of a work around?
3) find/replace script we can run through the local object to replace the any <p> tags arising?

Thanks to anyone that can be of assistance

lostinbeta
March 4th, 2003, 03:44 PM
When you load the text into the textbox be sure to both have it html enabled and set to read htmlText

myTextBox.html = true
myTextBox.htmlText = textVar



And if the P tag doesn't work, try two BR tags (Equivelent of a P tag and I know it works).

superG
March 4th, 2003, 03:51 PM
Thanks for your help lostinbeta, will give that a go...