# Limiting characters for input text

**URL:** <https://forum.kirupa.com/t/limiting-characters-for-input-text/91098>\
**Category:** Uncategorized\
**Created:** [July 31, 2003, 3:28pm UTC](https://forum.kirupa.com/t/limiting-characters-for-input-text/91098 "2003-07-31T15:28:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![imported\_sogajunk](https://avatars.discourse-cdn.com/v4/letter/i/d6d6ee/32.png) [@imported\_sogajunk](https://forum.kirupa.com/u/imported_sogajunk)\
**Post date:** [July 31, 2003, 3:28pm UTC](https://forum.kirupa.com/t/limiting-characters-for-input-text/91098/1 "2003-07-31T15:28:48Z")

</div>

hello everyone,  
can’t quite seem to figure this out…  
i have this quiz i’m making and it contains 4 input text boxes. there will be 3 options: a,b, or c. and now my question:

how can i make the input boxes only accept the keys a,b,and c?  
(currently you can type in any character)

hoping there is an easy answer,  
-sogajunk
