| T O P I C    R E V I E W | 
              
              
                | Martin1 | 
                Posted - 23 Dec 2008 : 22:19:11  Hello all,
  I am currently creating a form and I can add to the textfields a value which can be seen inside the textfield.
  However how can I have this value removed as soon as I click inside the textfield?
  Regards,
  Martin | 
              
              
                | 2   L A T E S T    R E P L I E S    (Newest First) | 
              
              
                | Martin1 | 
                Posted - 24 Dec 2008 : 12:53:25  Thanks Davide,
  I thought I had overlooked a setting somewhere in DHE but there isn't a setting for it. Maybe it would be a good idea to create a setting for it?
  Regards,
  Martin | 
              
              
                | s.dav | 
                Posted - 24 Dec 2008 : 08:38:25  Your page should be something like this (in HTML):
  <html> <head>
  <script language="javascript" type="text/javascript"> <!--
  function blankField(o) {     o.value=""; }
  //--> </script>
  </head> <body> <form name="myForm" action="" method="post"> <input type="text" name="mytext" id="mytext" value="click here" onclick="blankField(this);"> </form> </body> </html>
 
  |