Javascript: Make special kind of hotkeys two-character hotkeys in web application

This project was successfully completed by Codeclerk for $110 USD in 3 days.

Get free quotes for a project like this
Project Budget
$50 - $130 USD
Completed In
3 days
Total Bids
Project Description

Please have a look at the following page:

[url removed, login to view]

This video ([url removed, login to view]) shows how to utilize the hotkeys on that page. Now, I would like to have hotkeys, which consists of one or two letters instead of the current limitation of only supporting one-letter hotkeys. The user will hold down the hotkeys at the same time, and release them, to trigger the event.

Notice that they have functionality to preview the result of the hotkey, by holding down the keys. Releasing the keys will trigger the action. Also notice, that holding down the shift-key, while pressing a hotkey modifies the behaviour of the hotkey slightly, by setting the VAT field to empty. Please keep this functionality.

Please notice that this is a special kind of hotkeys where the user will never hold down the control key or similar. The hotkeys currently trigger by simply pressing one key on the keyboard, like the "d" key in the video above.

Currently, it is possible to utilize øæåØÆÅ as hotkeys, please keep it this way.

Please also ensure that we can always use Control+F for the built in find function, so maybe this means that you have to make it so that the user cannot make any hotkey combinations involving the “f” key.

Please also make it so that only letters can be assigned as hotkeys (øæåØÆÅ are also letters). Currently, for example the "backspace" key can be assigned as hotkey (I believe), which can have unintended consequences.

I do not expect you to modify the persistence of hotkeys, as that will be done in a separate project afterwards (please indicate whether you are competent to do this using PostgreSQL).

You can use jQuery to implement this.

As a part of this project, please create functionality where the user cannot assign both "df" and "fd" as hotkeys (using the same notifications as in the current solution if you attempt to assign the same letter to two different rows in the table), because since the user will press them at the same time, we will not detect the order in which they were pressed.

The deadline for this project is 4 days.

Completed by:

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online