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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

How to change the tab order on the control on CRM page?

(0) ShareShare
ReportReport
Posted on by 840

  

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Royal King Profile Picture
    27,686 on at

    The default tabbing order on CRM forms is top to bottom, left to right. If you want to change this behaviour use below script it will change tab ordr to left to right , top to bottom.

    function TabOrderLefttoRight() {

    for (var i = 0; i < Xrm.Page.ui.controls.getLength() ; i++) {

       var control = Xrm.Page.ui.controls.get(i);

       var element = document.getElementById(control.getName());

       if (element.tabIndex && element.tabIndex != "0") {

           if (element.className == 'ms-crm-Hidden-NoBehavior')

               continue;

           if (element.tagName == 'A') {

               if (element.className != 'ms-crm-InlineTabHeaderText')

                   continue;

           }

           element.tabIndex = 1000 + (i * 10);

       }

    }

  • Verified answer
    Aileen Gusni Profile Picture
    44,524 on at

    HI crmuser,

    What do you mean?

    The Tab in the Form?

    Or the tab that you are referring is the tiles in the sitemap

    If the Tab in the form, then, you should go to CRM Form Editor, then you just move up or down your Tab, you can use cursor using mouse or up/down arrow on your keyboard.

    If you are referring to tile in CRM sitemap, then you can use sitemap editor, which is you can download as a part of this XrmToolbox app:

    xrmtoolbox.codeplex.com

    You also can move up or move down your sitemap area.

    Hope this helps!

    Thank you!

  • Vijayakumar Kenchugundu Profile Picture
    1,077 on at

    Hello Citrasan,

    Your code sets the tab order as left to right. However there is a problem when it comes to currency fields as when you first tab into it the currency symbol is selected, and you can't type anything, and you have to tab again to be able to type anything into the field.

    Is there a way for the code to ignore these symbols and go straight into the field itself?

  • Raju Bathula Profile Picture
    20 on at

    is it support for 2016 crm ?

  • Suggested answer
    Community Member Profile Picture
    on at

    Select the tab. Once selected, move the tab up/down using the arrow keys. Do it slowly so you can see the order.

  • Community Member Profile Picture
    on at

    Yes

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans