+ Reply to Thread
Results 1 to 3 of 3

Thread: Initial Text Clear On A Form
      
   

  1. #1
    robobobo's Avatar
    robobobo is offline Captain
    Join Date
    Apr 2006
    Posts
    233

    Default Initial Text Clear On A Form

    Hey,
    Is there anyway that i can get the text in the intial value field to dissapear once a user clicks on it? Without them having to delete it manually?

    Thanks

  2. #2
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,061

    Default Re: Initial Text Clear On A Form

    Right click each edit box, select HTML and then click on Inside Tag. Paste the following code:

    onFocus="if(this.value!='')this.value='';"

    Please note that if they fill in a field, continue with another, and then go back to the same field, it will also clear whatever they have typed.
    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!


  3. #3
    robobobo's Avatar
    robobobo is offline Captain
    Join Date
    Apr 2006
    Posts
    233

    Default Re: Initial Text Clear On A Form

    That was it!

    Perfect thanks

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49