function OnCrmPageLoad()
{
ReArangeTabIndex();
}
function ReArangeTabIndex()
{
for( var i = 0 ; i < crmForm.all.length ; i++ )
{
var element = crmForm.all[ i ];
if (element.tabIndex)
{
if (element.className == "ms-crm-Hidden-NoBehavior" || element.tagName == "A")
{
continue;
}
element.tabIndex = 1000 + (i*10);
}
}
}
OnCrmPageLoad();
So Long, and Thanks for All the Fish
2 years ago
9 comments:
Can you supply a link to your post about changing vertical tabbing to Horizontal . I can find it on your blog.
Here is the link to the previous post Handling CRM Tabs
i used the above the code , but the it works in some places and breaks at other and keeps jumping fields in between.
Different form layouts might require further tweeking. Does it jump certain field types or is it random?
actually it works properly in the general tab but breaks randomly, but when i move to a new tab , there it does not apply only, it goes to the first field and then breaks completely and moves to the save and save and close buttons above.
i can see a pattern in the new tabs , but in the general tab it breaks randomly.
also moving from one section to another breaks the rhythm sometimes.
Hello everybody!
It works great, but would it be possible to avoid the tab move to the fields in the forms assistant?
Thank you!!
Thanks for the code! I've adapted it to remove the Form Assistant from the tab ordering as well with these two lines:
document.getElementById("ContextSelect").tabIndex = -1;
document.getElementById("RelatedInformationPane").tabIndex = -1;
As usual with Javascript, it only took two lines to achieve what I wanted, but an hour of debugging to figure it out! Hope this saves someone the anguish :) George
Works perfectly, thanks!
Great insights on changing tab order! Managing tab flow is so crucial for creating accessible and user-friendly interfaces. This article breaks down the process well, making it easier to optimize for smooth navigation. Thanks for the tips
Digital Marketing Course In Hyderabad
Digital Marketing Course In Ameerpet
Post a Comment