Thanks for the suggestions, still no luck though, I am trying to use the feature to swap two subforms on a page so that when a button is pressed one subform becomes hidden and the other form becomes visible. I have verified that the form is saved as a dynamic form.
Ive tried page1.presence = hidden, form1.page1.presence = hidden, and this.presence = hidden.
Any ideas?