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



Mar 7, 2011, 7:05 AM
1 Posts

Re: How to set focus to a field when Xpages load

  • Category: Dojo and Client Side JavaScript
  • Platform: All
  • Release: 8.5.2
  • Role: Developer
  • Tags: Focus
  • Replies: 6
I found this solution. Add the javascript below to the onClientLoad event:
dojo.query("input[id$='subject']")[0].focus();
Mar 9, 2011, 7:43 PM
13 Posts
Re: How to set focus to a field when Xpages load [Successful]
Sorry, I must have mistyped or something. This was successful.
 
Thank you very much.

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