Checking for null values

I have a very very simple problem…i dont want the user to proceed if he doesnt enter anything into an input field. I tried this code:


if(someValue!=null){
    gotoAndPlay("frameWhatever");
}

but it doesnt work. As simple as this problem is i dont know what else to try.

Thanks for your help