Form Field Initial Value - Behavior

From: Bill Morgan (willmorgan_at_lisco.com)
Date: 04/16/04


Date: Fri, 16 Apr 2004 09:59:15 -0700

I have a website. One of the pages contains a form with
input fields. Each of the fields contains an initial value
(default value such as "Last Name", etc.).

QUESTION: I want the field initial value to disappear as
soon as the client begins typing in his actual
information, without him having to select/delete the
initial value. For example, in the [Last Name] field, the
initial, default value is "Last Name". When the client
selects that field and begins typing in his own last name,
I want that default value to disappear on the client's
first keystroke.

How do I most easily accomplish this?

Thanks in advance for any assistance you can provide ...

Bill Morgan



Relevant Pages

  • Re: Form Field Initial Value - Behavior
    ... I notice that if I select the default text so> it is highlighted, then it automatically disappears when I> start typing in new information. ... If there was a way to> have the text automatically highlight when the onfocus> event ocurred, then the field value would stay intact if> the client clicked on it or tabbed to it - it would only> disappear once he started typing in new information, which> is okay. ... Microsoft FrontPage Version 2002 Inside Out ...
    (microsoft.public.frontpage.programming)
  • re: Form Field Initial Value - Behavior
    ... start typing in new information. ... have the text automatically highlight when the onfocus ... >Microsoft FrontPage MVP ... >>I want that default value to disappear on the client's ...
    (microsoft.public.frontpage.programming)
  • Re: Letterhead and Second Sheet in Word: Any way to link sections?
    ... > I've managed to create a letterhead and second sheet for a client that ... > sections so I can keep typing without having to be aware of placement ... I'm creating the Word doc in MAC for a client using ...
    (microsoft.public.word.pagelayout)
  • Explorer.exe spiking and High Page Fault Count
    ... Faults increase by 3500 to 4000 per second until the CPU usage drops. ... symptoms are identical when typing in the 'Subject Line' of ACT!. ... In the Outlook v2000 client, ... loading/appearing, the system becomes very busy for 30 seconds to the point ...
    (microsoft.public.win2000.new_user)
  • Explorer.exe spiking and High Page Faults
    ... Faults increase by 3500 to 4000 per second until the CPU usage drops. ... symptoms are identical when typing in the 'Subject Line' of ACT!. ... In the Outlook v2000 client, ... loading/appearing, the system becomes very busy for 30 seconds to the point ...
    (microsoft.public.win2000.general)