# Checkbox help

**URL:** <https://forum.kirupa.com/t/checkbox-help/72699>\
**Category:** flash\
**Created:** [December 8, 2004, 3:02pm UTC](https://forum.kirupa.com/t/checkbox-help/72699 "2004-12-08T15:02:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cape](https://avatars.discourse-cdn.com/v4/letter/c/8dc957/32.png) [@cape](https://forum.kirupa.com/u/cape)\
**Post date:** [December 8, 2004, 3:02pm UTC](https://forum.kirupa.com/t/checkbox-help/72699/1 "2004-12-08T15:02:22Z")

</div>

Hi there, new to 2004…

I need to do a simple validation . 2 check boxes need to be checked before a user can go onto the next frame.

This is my code so far… I only have the one checkbox in the code cos not sure how 2 do both…

```auto
 
on (release) {
if (myCheckBox1.selected="false") {
_root.alert.gotoAndPlay("2");
	} else if (myCheckBox1.selected="true") {
	 
_root.gotoAndPlay("5");
}
}

```

Any ideas…

It just goes 2 frame 5 the whole time…  
:ponder:
