# Simple Componant form

**URL:** <https://forum.kirupa.com/t/simple-componant-form/200863>\
**Category:** flash\
**Created:** [September 15, 2006, 9:49pm UTC](https://forum.kirupa.com/t/simple-componant-form/200863 "2006-09-15T21:49:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ashleyppg](https://avatars.discourse-cdn.com/v4/letter/a/8dc957/32.png) [@ashleyppg](https://forum.kirupa.com/u/ashleyppg)\
**Post date:** [September 15, 2006, 9:49pm UTC](https://forum.kirupa.com/t/simple-componant-form/200863/1 "2006-09-15T21:49:44Z")

</div>

I am building a password protect form, but it doesn’t need to be that secure, I created it and it works, although it is case sensitive, is there a way to make it not case sensitive – here is what is on my submit button –

on (release, keyPress “\<enter\>”) {  
mess=“Sign in please!”;  
if (username==“CSI555” ) {  
mess=“Invalid password”;  
}  
if (password==“CSI555”) {  
mess=“Invalid username”;  
}  
if (username==“CSI555” & password==“CSI555”) {  
gotoAndPlay(“administrativetools”);

}  
}

and my other question is that I want to press the enter key and without tabbing to the button to make it load, how do I do that??

thanks  
Ashley
