The form does not to be saved as a static form to have the presence attribute work... you can have this.presence = "hidden" etc for dynamic forms.
Make sure the outmost subform is set to flowed, top to bottom.
For the click event of the checkbox, have something like
if(this.rawValue == "1")
{page2.presence = "hidden"}
else {page2.presence = "visible"}
where page2 is the page that you want to hide (remember, any subform that is above this on the hierarchy must be flowed)
hope that makes some sense