# Turn Input Text into lower case

**URL:** https://forum.kirupa.com/t/turn-input-text-into-lower-case/195148
**Category:** flash
**Created:** [July 28, 2006, 6:40pm UTC](https://forum.kirupa.com/t/turn-input-text-into-lower-case/195148 "2006-07-28T18:40:04Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Tyg3r](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/tyg3r/32/1341_2.png) [@Tyg3r](https://forum.kirupa.com/u/Tyg3r)
#### Post date: [July 28, 2006, 6:40pm UTC](https://forum.kirupa.com/t/turn-input-text-into-lower-case/195148/1 "2006-07-28T18:40:04Z")

</div>

Is there a way to convert the information in the inputName text field, down to lower case before it checks its validity? or a way to disable case sensitivity perhaps?

[FONT=Courier New][AS]btn.onRelease = function() {  
if (inputName == “kirupa”, “KIRUPA”, “Kirupa”) {  
inputName = “Access granted!”;  
} else {  
inputName = “Access denied!”;  
}  
}  
[/AS][/FONT]
