self erase text from edit box in form

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • linceman
    Master Sergeant

    • Jul 2010
    • 60

    self erase text from edit box in form

    Hi Everyone...

    I was wondering if it would be possible to get the text from an edit box to erase by itself when someone entered the information.



    I have this page and I would like the text to go by itself instead of having to erase it manually....

    Thx everybody in advance for the advice...

    Linceman
  • navaldesign
    General & Forum Moderator

    • Oct 2005
    • 12080

    #2
    Re: self erase text from edit box in form

    Add teh following in the Inside Tag of each field HTML:

    onFocus="if(this.value=='Please type your Keyword')this.value='';" onBlur="if(this.value=='')this.value='Please type your Keyword';"
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

    Comment

    • linceman
      Master Sergeant

      • Jul 2010
      • 60

      #3
      Re: self erase text from edit box in form

      wonderful.... it works beautifully

      great help as usual

      Thank you very much

      Cheers

      Linceman

      Comment

      Working...
      X