# Dynamic textfield won't render html :|

**URL:** <https://forum.kirupa.com/t/dynamic-textfield-wont-render-html/137550>\
**Category:** Uncategorized\
**Created:** [February 15, 2005, 6:14pm UTC](https://forum.kirupa.com/t/dynamic-textfield-wont-render-html/137550 "2005-02-15T18:14:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![simonbun](https://avatars.discourse-cdn.com/v4/letter/s/43a26b/32.png) [@simonbun](https://forum.kirupa.com/u/simonbun)\
**Post date:** [February 15, 2005, 6:14pm UTC](https://forum.kirupa.com/t/dynamic-textfield-wont-render-html/137550/1 "2005-02-15T18:14:13Z")

</div>

hi all,

I’m trying to load this variable from an external text file into an dynamic textfield:

tekst=\<TEXTFORMAT LEADING=“2”\>\<P ALIGN=“LEFT”\>\<FONT FACE=“Arial” SIZE=“12” COLOR="#000000"\>test\</FONT\>\</P\>\</TEXTFORMAT\>

…the textfield remains empty.

tekst=\<b\>hi\</b\> all

…here the textfield does render the text correctly with html.

something wrong with my code?

```auto

loadText = new LoadVars();
loadText.load("content.txt");
loadText.onLoad = function() {
	_root.field.html = true;
	_root.field.htmlText = loadText.tekst;
};

```

any help would be greatly appreciated guys… i’m at a loss here
