how to use back space keyword?

How to use control the backspace keyword with the below conditions

  1. Backspace should be ignored within the app unless the user is editing in a form control
  2. Backspace should be registered and text being edited should be updated accordingly.

You may register either a global handler for the backspace key, or connect it to some component (e.g. input): http://docs.webix.com/api__uimanager_addhotkey.html