Currently doing a form, I'm supposed to hide the Header object from appearing on the following pages after the first page. I have tried the following but it doesn't work
if(this.rawValue == "1")
form1.pageSet.Page1.TextField1.presence = "hidden";
you can always use xfa.layout.page(xfa.form.form1.[...]); this will tell you what page the item is...
I hope this will help