This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal



Jun 2, 2011, 10:24 PM
3 Posts

Edit box default text not clearing onClick with IE, how to reset default value

  • Category: Other
  • Platform: All
  • Release: 8.5.2
  • Role: Developer
  • Tags: edit box,IE,onClick
  • Replies: 0
My understanding is that the Default Value of an edit box control should clear when the user clicks in the control to enter text.  Assuming that's true...
 
First question: I have an edit box with default value ("Enter a name...") which properly clears when the user clicks in the field in all browsers *except* IE.  A known issue?  Is there a fix for this?
 
Second question: I am providing the user a "clear selection" link to reselect in this edit box if needed, and I clear the value, but if I assign a new value (resetting to "Enter a name..." via .setValue...) then it is not treated as a 'default value' and doesn't clear when clicked in *any* browser.  Is there a way to set the 'defaultValue' instead of the 'value'?
 
Any suggestions?  Thanks in advance...
 
-John 
 

This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal