Does anyone know how to make the text already in the input text box disappear when you click on it.
For example:
|enter email| - this is loaded when the page is loaded
|_________| - then disappears when you click to type
: : I thought it would be very simple, but i guess not : :
THANKS in advanced!
             
            
              
              
              
            
            
           
          
            
              
                system
                
              
              
                  
                  
              2
              
             
            
              It is simple 
[AS]cta.text = “enter e-mail”;
cta.onSetFocus = function() {
this.text = “”;
};[/AS]
cta is the INSTANCE name of the textbox in this case (NOT VAR NAME!!!)
             
            
              
              
              
            
            
           
          
            
              
                system
                
              
              
                  
                  
              3
              
             
            
              it’s simple indeed :)… give your field the instance name ‘myTextfield’, and have this code on the parent timeline
myTextfield.onSetFocus = function() {
	myTextfield.text = ""
}
             
            
              
              
              
            
            
           
          
            
              
                system
                
              
              
                  
                  
              5
              
             
            
              lol
you beat me this time:-\
             
            
              
              
              
            
            
           
          
            
              
                system
                
              
              
                  
                  
              6
              
             
            
              Will i need the var name if it is needed for a php file
             
            
              
              
              
            
            
           
          
            
              
                system
                
              
              
                  
                  
              7
              
             
            
              then you can say
you can simply go like myPHPvariable = myTextfield.text 
             
            
              
              
              
            
            
           
          
            
              
                system
                
              
              
                  
                  
              8
              
             
            
              Thanks guys again for the fast advice!
             
            
              
              
              
            
            
           
          
            
              
                system
                
              
              
                  
                  
              9
              
             
            
              dont thank me, thank lostinbeta  :trout:
 :trout: