Support Article

Access Keys Don't Work With Field Values

SA-27629

Summary



User have a button that we would like to use an access key with and have created a field value and called 'Lookup' and added an & to the label before it, so its &Lookup.

The browser adds an underline under the L but it is not clicked with using the correct hotkeys to activate it.

However when user do not use a field value and instead just a string as a caption and use &Lookup it works.

User want to be able to use the access keys but we also need to be able to showcase localization.


Error Messages



Not Applicable


Steps to Reproduce



1) Create a button.
2) Use field label as button.
3) Add access key to any part of the field button label.
4) Note how button renders with correct letter underlined.
5) Use correct hotkey combo to trigger access key.


 

Root Cause



A defect in Pegasystems’ code or rules where n the generatelinkorbutton RUF, user is not getting the localized text when there is an access key ( & ) in the field value. Need to call getLocalizedTextForString api when there is an accesskey (in the field value) and when section is checked for localized.

Resolution



Apply HFix-29285 to resolve the issue.

 

Published September 6, 2016 - Updated September 19, 2016

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.