# How do I create a number/telephone keypad?

**URL:** <https://forum.kirupa.com/t/how-do-i-create-a-number-telephone-keypad/157040>\
**Category:** Uncategorized\
**Created:** [July 29, 2005, 3:46pm UTC](https://forum.kirupa.com/t/how-do-i-create-a-number-telephone-keypad/157040 "2005-07-29T15:46:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kaanuki](https://avatars.discourse-cdn.com/v4/letter/k/f05b48/32.png) [@kaanuki](https://forum.kirupa.com/u/kaanuki)\
**Post date:** [July 29, 2005, 3:46pm UTC](https://forum.kirupa.com/t/how-do-i-create-a-number-telephone-keypad/157040/1 "2005-07-29T15:46:56Z")

</div>

\*\*Hello, All!

\*\* I’m interested in creating number/telephone keypad, but I can get multiple numbers to append to each other. I creating a simple little app where the user “punches in” an amount from an on-screen number keypad. When the user presses 5-0-0, I’d like it to set the variable to “500”.

The only method I’v tried (or know how to do) is:  
on(press){set(“varNumber1”,1)} - But this only allows me one number at a time.

Is there any exisiting code out there - or could someone show me how to append the numbers to each other.

Thank you.
