Enter function using keypad

See post #2 for a snippet of your code that can't possibly do anything useful.