create keyboard shortcuts crm 2011 RRS feed

  • Question

  • Hi,

    I want to add keyboard shortcuts for custom buttons I've added to a form. Is this possible in CRM 2011?

    Tuesday, November 12, 2013 3:34 PM

All replies

  • Yes it is possible.

    For example, in your custom HTML web resource or form, use the following syntax:

    <button id="btnOk" class="ms-crm-RefreshDialog-Button" onclick="btnOkClick();" accessKey="O"><u>O</u>k</button>

    In the above example, the italic bold code highlighted above is the way to achieve it. Here the user can access that button using Alt + Accesskey(i.e., O).

    Hope this helps.

    • Proposed as answer by Sarayu_CM Tuesday, November 12, 2013 5:28 PM
    Tuesday, November 12, 2013 5:28 PM
  • Hi,

    you can use this library...


    From your short cut key I would link to your custom button javascript library rather than doing a click on the button as this may not be supported.


    Tuesday, November 12, 2013 5:28 PM