Skip to main content

Notifications

Announcements

No record found.

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
    RE: CRM 2016 - What determines the default location of the cursor?

    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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics CRM (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 83 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 52

#3
dkrishna Profile Picture

dkrishna 6

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans