# Make it so that an Input text box will only do integers

**URL:** <https://forum.kirupa.com/t/make-it-so-that-an-input-text-box-will-only-do-integers/103298>\
**Category:** Uncategorized\
**Created:** [March 3, 2004, 9:45pm UTC](https://forum.kirupa.com/t/make-it-so-that-an-input-text-box-will-only-do-integers/103298 "2004-03-03T21:45:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nephsuperman](https://avatars.discourse-cdn.com/v4/letter/n/8e8cbc/32.png) [@nephsuperman](https://forum.kirupa.com/u/nephsuperman)\
**Post date:** [March 3, 2004, 9:45pm UTC](https://forum.kirupa.com/t/make-it-so-that-an-input-text-box-will-only-do-integers/103298/1 "2004-03-03T21:45:26Z")

</div>

Hi, I need help trying to figure out how to code how to let an Input type text box opnly take integers from 0 to 5000. Thanks.
