# Input text question?

**URL:** <https://forum.kirupa.com/t/input-text-question/59637>\
**Category:** Uncategorized\
**Created:** [August 2, 2004, 6:20pm UTC](https://forum.kirupa.com/t/input-text-question/59637 "2004-08-02T18:20:33Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![FlashPlaya](https://avatars.discourse-cdn.com/v4/letter/f/e274bd/32.png) [@FlashPlaya](https://forum.kirupa.com/u/FlashPlaya)\
**Post date:** [August 2, 2004, 6:20pm UTC](https://forum.kirupa.com/t/input-text-question/59637/1 "2004-08-02T18:20:33Z")

</div>

I am trying to build a email form and I have it working but I want to add text in the field\>then when the user put the cursor in the text field it will disappear.

Here are some examples of what I am trying to do.

> **[Matt Fordham – Web Developer / Seattle, WA](http://matthewfordham.com/)**
>
> I’ve been helping start-ups, brands, and
> agencies plan and build successful digital experiences and products for over 16 years.
> If you've got good people and a great idea, I'm interested.

  
go the contact.

[http://www.exopolis.com/site/](http://www.exopolis.com/site/)  
go to connect.

thanks Guys!!!

---

<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:** [August 4, 2004, 9:37pm UTC](https://forum.kirupa.com/t/input-text-question/59637/2 "2004-08-04T21:37:18Z")

</div>

i’ve actually been wondering the same thing so if anyone knows how to do this i’d greatly appreciate it. i’ve been looking for a tutorial on it for about a month now.

---

<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:** [August 4, 2004, 9:49pm UTC](https://forum.kirupa.com/t/input-text-question/59637/3 "2004-08-04T21:49:16Z")

</div>

onSetFocus set the .text or .htmlText to “” after checking it is still your default text (else you’ll wipe previous usre input if he tabs back into the field!)

---

<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:** [August 4, 2004, 10:01pm UTC](https://forum.kirupa.com/t/input-text-question/59637/4 "2004-08-04T22:01:50Z")

</div>

eyezberg, i’m not exactly sure what you mean or how to apply this. if i have an input text box with some text in there as default, let’s say name, how would i achieve this effect? thanks in advance.

---

<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:** [August 5, 2004, 12:14am UTC](https://forum.kirupa.com/t/input-text-question/59637/5 "2004-08-05T00:14:16Z")

</div>

Yo Ezezberg…

I tried that, but could not get it work?? Can you maybe help us out a bit more??

Thanks!!
