Example of using keydown event for filtering.
(Type abc ...)