1 Reply Latest reply on May 30, 2010 1:03 PM by kglad

    Form fields : on click remove...

    danae830 Level 1

      Hello,

       

      I have text input fields that have default text. When a user click on the field, the text diseappears...  the original text remains gone.

       

      My question is how can I make the original text reappears... If the user clicks on the clear button or has not entered anything in... it would revert back to what was orignially there .

       

       

      To make the text disappear :

       

       

      contact_name.onSetFocus = function() {

      contact_name.text = ''

      contact_email.onSetFocus = function() {

      contact_email.text = ''

      contact_subject.onSetFocus = function() {

      contact_subject.text = ''

      contact_message.onSetFocus = function() {

      contact_message.text = ''

       

      }

      }

      }

      }

       

       

      Thanks for your help.