# Checking for null values

**URL:** <https://forum.kirupa.com/t/checking-for-null-values/209500>\
**Category:** Uncategorized\
**Created:** [December 9, 2006, 1:59pm UTC](https://forum.kirupa.com/t/checking-for-null-values/209500 "2006-12-09T13:59:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Binji](https://avatars.discourse-cdn.com/v4/letter/b/cdc98d/32.png) [@Binji](https://forum.kirupa.com/u/Binji)\
**Post date:** [December 9, 2006, 1:59pm UTC](https://forum.kirupa.com/t/checking-for-null-values/209500/1 "2006-12-09T13:59:35Z")

</div>

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:

```auto

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
