Creating a keypad

I've created a keypad using previous templates that I have found here but the issue I have is that I need it to be able to accept 13 digits. The one I've attached is only able to accept 8 before turning the final digits into 0's.

Is it possible to create one that will accept 13 and if so, do any of you have any suggestions on how I could do this?

8 Replies
Andre Baumgardt

Hey Phil,  I am creating a lesson that has story branching.  I wanted the to create a keypad where the user inputs a value and the value determines which branch to jump to.  Your JavaScript solution with some modifications work perfectly and saved me a lot of time trying to figure out how to code it myself.  Thank You!