# If/Then Statment with Input Text, PLEASE HELP, probably easy but

**URL:** https://forum.kirupa.com/t/if-then-statment-with-input-text-please-help-probably-easy-but/80093
**Category:** Uncategorized
**Created:** [February 19, 2005, 5:29am UTC](https://forum.kirupa.com/t/if-then-statment-with-input-text-please-help-probably-easy-but/80093 "2005-02-19T05:29:45Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![mlkedave](https://avatars.discourse-cdn.com/v4/letter/m/958977/32.png) [@mlkedave](https://forum.kirupa.com/u/mlkedave)
#### Post date: [February 19, 2005, 5:29am UTC](https://forum.kirupa.com/t/if-then-statment-with-input-text-please-help-probably-easy-but/80093/1 "2005-02-19T05:29:45Z")

</div>

Ok this is probably a simple question but i cant seem to get a simple if/then statment working with an input text. Here is my AS

[AS]  
on (release) {  
password = inputName  
if (password == “test”) {  
getURL(“[http://msn.com](http://msn.com)”,"\_parent");  
} else {  
getURL(“[http://ign.com](http://ign.com)”,"\_parent");  
}  
}  
[/AS]

For some reason when i type in test in the movieclip inputName it still sends me to [ign.com](http://ign.com). Everything is in the same frame and i just cant get it working. Thanks for your help.

Mike
