# Dumb question

**URL:** <https://forum.kirupa.com/t/dumb-question/13248>\
**Category:** Uncategorized\
**Created:** [February 10, 2003, 7:17pm UTC](https://forum.kirupa.com/t/dumb-question/13248 "2003-02-10T19:17:45Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![lava](https://avatars.discourse-cdn.com/v4/letter/l/a4c791/32.png) [@lava](https://forum.kirupa.com/u/lava)\
**Post date:** [February 10, 2003, 7:17pm UTC](https://forum.kirupa.com/t/dumb-question/13248/1 "2003-02-10T19:17:45Z")

</div>

this is a dumb question - but how do you make a link inside a textbox? I have lots of links, and so I want to be able to scroll the textbox, and for some reason I can’t put a link inside it… I’ve been reading the documentation and it doesnt say how to do that - only how to make the whole textbox link somewhere…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 10, 2003, 7:23pm UTC](https://forum.kirupa.com/t/dumb-question/13248/2 "2003-02-10T19:23:14Z")

</div>

render the text as html and use

```php
<a href="somewhere.com">click here</a>

```

tags

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 10, 2003, 7:44pm UTC](https://forum.kirupa.com/t/dumb-question/13248/3 "2003-02-10T19:44:11Z")

</div>

I tried that… but it just showed the whole tag. hmm… I wonder what I did wrong… thanks though.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 10, 2003, 8:01pm UTC](https://forum.kirupa.com/t/dumb-question/13248/4 "2003-02-10T20:01:14Z")

</div>

It only works when adding the text through AS or an external file. If you type the code into the textbox directly it will not work.

```php
myText = "<A HREF='yourFile.html'>click here</A>
myTextBoxInstance.html = true;
myTextBoxInstance.htmlText = myText;

```

That sets a variable to hold your text  
then enabled the textbox as html  
then sets the textbox to convert the html of the text.

Keep in mind only text formatting HTML tags work with this.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 10, 2003, 8:08pm UTC](https://forum.kirupa.com/t/dumb-question/13248/5 "2003-02-10T20:08:58Z")

</div>

lol 😛

i was about to tell you about the **"** [color=red] **’** [/color] thing 🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 10, 2003, 8:15pm UTC](https://forum.kirupa.com/t/dumb-question/13248/6 "2003-02-10T20:15:34Z")

</div>

Yeah, I edited it before you though 😛

I was like “why is it blue??.. 'DOH!!!”
