Hi all,
Does anyone know how you create a form so that some text appears in the
box (for example Name) and when you click in the box, it disappears so
that your text can go there?
TIA,
Riva
The WDVL Discussion List from WDVL.COM
To Join wdvltalk, Send An Email To: mailto:[EMAIL
input type=text name=fieldName value=text to be removed
onclick=javascript: document.formName.fieldName.value = '';
try that...
On 15/11/06, Portman [EMAIL PROTECTED] wrote:
Hi all,
Does anyone know how you create a form so that some text appears in the
box (for example Name) and when you
Riva,
Try this: input type=text size=30 maxsize=100 value=Name
name=NameField onfocus=if (this.value == 'Name'){this.value = '';}
-Cheryl
Portman [EMAIL PROTECTED] wrote:
=
Hi all,
Does anyone know how you create a form so that some text appears in the
box (for example
On Wed, 15 Nov 2006, Cheryl Hewitt wrote:
Riva,
Try this: input type=text size=30 maxsize=100 value=Name
name=NameField onfocus=if (this.value == 'Name'){this.value = '';}
-Cheryl
Cheryl beat me to it - I was going to suggest only clearing the box if the
value is still the 'default'