function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Sujan Kumar ReddySujan Kumar Reddy 

accesskey attribute usage

Dear Masters,

 

Can anyone have used accesskey attribute ever? I have a requirement where in I have two buttons 1. Search and 2. Create New. When a user enters some search text in input textbox and click on enter it is navigating to create new page (i.e it is calling Create new button). Where in i need Search button to be called.

 

I have tried with couple of approaches, it is not working :-(

 

Any suggestions Please..

 

Thanks in advance!

Vinita_SFDCVinita_SFDC

Hello,

Please check if you have put accesskey attribute in the search button, also how are you assigning value to accesskey? Is it like 'ALT+1' or '1'.

The Salesforce app already uses access keys for some items (the sidebar Recent Items list, for example, uses the numbers 0-9), so you will need to make sure that you do not use the same keys.