[wdvltalk] Form box question - RESEND (first one didn't go through)

2006-11-15 Thread Portman
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

Re: [wdvltalk] Form box question - RESEND (first one didn't go through)

2006-11-15 Thread Tris
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

Re: [wdvltalk] Form box question - RESEND (first one didn't go through)

2006-11-15 Thread Cheryl Hewitt
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

Re: [wdvltalk] Form box question - RESEND (first one didn't go through)

2006-11-15 Thread David Precious
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'