Table of Contents

Article

Customizing the first control in the tabbing sequence shortcut key

Summary

By default, application users can type the shortcut key combination ALT + F used to place focus on the first input field on a work object form. Optionally, you can change this key combination.

 

Suggested Approach

To change the default shortcut used to place focus on the first input field:

  1. Open the standard WorkFormKeys HTML Fragment rule. Copy it into your application RuleSet, keeping the name.
  1. On the HTML tab, edit the HTML script for the default focus shortcut key to the key of your choice.

<script>
/*
* To overwrite accesskey shortcut for focusing the first
* input element on the page
*/
var accessKeyFI= "f";
/*
* To overwrite accesskey shortcut for focusing the first
* ERROR element on the page
*/
var accessKeyError= "e";
</script>

  1. Save the HTML Fragment rule form.

If your internet browser currently uses this shortcut key, the shortcut key for placing focus on the first input field on a work object form will override it.

Tags:

Published January 23, 2008 — Updated March 24, 2008

Have a question? Get answers now.

Visit the Pega Support Community to ask questions, engage in discussions, and help others.