designating enter and backspace function to a keypad

hello :slight_smile: i'm a newbie. pleasssse help me. I am making an automated rice vending machine through the use of rfid and coin slot as a method of payment. i just want to ask about how to designate an enter and backspace to a keypad.? please someone help me. i used addeventlistener(keypad event) or there is something better than this?

Put stickers on the keypad ? E.g. '#' equals and '*' equals .

Next write code using those. For more help, post your code (and use code tags when doing so)