locked
Remove Tabbing RRS feed

  • Question

  • Hi, without re-arrange the forms, how can I remove tabbing from a particular tab include all html elements in the tab.

    The tab has a grid which include all activity or note records and user does not want to tab through all activity or notes records to reach the next tab.

    On the on-load event, it can remove tabbing from any html controls which does not bind to any data grid. It looks like the grid might not loaded right way when the form is loaded, so JQuery can't find the control. I use the following JS to remove tabbing.

    DisableTabbing:

    function (sectionid) {

            window.setTimeout(WFCFCRM.Override.DisableTabIndex(sectionid),

    3000);

        },

        DisableTabIndex:

    function (sectionid) {       

        $(

    "." + sectionid).find('*').each(function (i, elm) {             

          

    if (elm.tabIndex > 0) {

           console.log(elm.id);

                elm.tabIndex = -

    1;

            }

        });      

        },

    thanks

    MD


    Make sure to "Vote as Helpful" and "Mark As Answer",if you get answer of your question.

    Wednesday, September 3, 2014 10:21 PM