web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

CRM 2016 - What determines the default location of the cursor?

(0) ShareShare
ReportReport
Posted on by 15

Non I.T. person asking, so be nice. :-)

I have user rights elevated to System Admin for an upgrade to our CRM 2011 to 2016 enviromnent. Our I.T. outsource group is unresponsive so I am asking for help here....

I have a screen where the default cursor is on a field that ends up getting blown out by many users who access this screen many times a day to update the data. My user group wants me to change the default location of the cursor. How do you accomplish this? Does it take code (setFocus?)? 

I have enough knowledge of CRM 2016 to make changes to Entities (Forms/Views/Relationships) and publish them in a Dev site. I then send to our IT group for import into our live site. But I don't see anything in the Customization area that alters the cursor location. Any suggestions/help is much appreciated.

Thanks

*This post is locked for comments

  • Suggested answer
    gdas Profile Picture
    50,091 Moderator on at

    Hi ,

    Try with this-

    function setfocusOnField() {

       window.setTimeout(function () {

           Xrm.Page.getControl("Fieldname").setFocus();

       }, 500);

    }

    Register above method in form onload event and replace field name which you want to set  focus.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans