# Forcing input txt to UPPERCASE

**URL:** <https://forum.kirupa.com/t/forcing-input-txt-to-uppercase/129411>\
**Category:** Uncategorized\
**Created:** [November 23, 2004, 11:39am UTC](https://forum.kirupa.com/t/forcing-input-txt-to-uppercase/129411 "2004-11-23T11:39:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![as\_clark20](https://avatars.discourse-cdn.com/v4/letter/a/5f8ce5/32.png) [@as\_clark20](https://forum.kirupa.com/u/as_clark20)\
**Post date:** [November 23, 2004, 11:39am UTC](https://forum.kirupa.com/t/forcing-input-txt-to-uppercase/129411/1 "2004-11-23T11:39:06Z")

</div>

Hi all,

say I’ve got an input field and I want the entries to be UPPERCASE, how can I set this up in flash so that these characters appear capitalized even if the user doesn’t have CAPSLOCK on?

I’ve tried **myTextField.toUpperCase();** but this doesn’t work. Anyone got any ideas?
