Expand my Community achievements bar.

Error Message: Invalid relation attribute on pageSet xfa

Avatar

Former Community Member

Hi,

Searching through the forums and on the net, I cannot seem to locate an answer to this problem so I'm trying here...

I've developed a form that many folks are using without any issues. However, I do have a small number of users that get the following error message when opening the form.

Error Message:  Invalid relation attribute on pageSet xfa[0].template[0].form1[0].#pageSet[0]

This error only appears to come up if they are using Adobe Acrobat Pro Version 8. No issues on versions 9 or 10 (X). The form is suppose to be compatible back to version 7.

My main form is called (form1). Then there are 4 major sub forms under (form1), The top drop down (on the MasterPage1) hides or displays one of the major sub forms based on user selection.

I have a hunch that something with the generated code not jiving well with Acrobat 8.

Here's a snippet of the code if you'd like to look through it.

form1.#pageSet[0].MasterPage1.FormActionDropDown::change - (JavaScript, client)

//+ GENERATED - DO NOT EDIT (ID:D2FF16C4-6D1F-45D4-ACB7-0DB7CE14229F CRC:3650232787)

//+ Type: Action

//+ Result4: SetPresence("$Node5","hidden")

//+ Result3: SetPresence("$Node4","visible")

//+ Result2: SetPresence("$Node3","hidden")

//+ Result1: SetPresence("$Node2","hidden")

//+ Node5: form1[0].ChangePAForm[0]

//+ Node4: form1[0].Non-PAForm[0]

//+ Node3: form1[0].DeletePAForm[0]

//+ Node2: form1[0].PAForm[0]

//+ Node1: form1[0].#pageSet[0].MasterPage1[0].FormActionDropDown[0]

//+ Condition1: ListField("$Node1","textselected","ADD NON-PA User")

//+ ActionName: DropDown.change.NonPA

if ($.boundItem(xfa.event.newText) == "ADD NON-PA User") {

  this.resolveNode("PAForm").presence = "hidden";

  this.resolveNode("DeletePAForm").presence = "hidden";

  this.resolveNode("Non-PAForm").presence = "visible";

  this.resolveNode("ChangePAForm").presence = "hidden";

}

//-

//+ GENERATED - DO NOT EDIT (ID:662A28BD-A30A-4E6D-92CD-6FF22B0EFB5D CRC:2945493746)

//+ Type: Action

//+ Result4: SetPresence("$Node5","hidden")

//+ Result3: SetPresence("$Node4","hidden")

//+ Result2: SetPresence("$Node3","visible")

//+ Result1: SetPresence("$Node2","hidden")

//+ Node5: form1[0].ChangePAForm[0]

//+ Node4: form1[0].Non-PAForm[0]

//+ Node3: form1[0].DeletePAForm[0]

//+ Node2: form1[0].PAForm[0]

//+ Node1: form1[0].#pageSet[0].MasterPage1[0].FormActionDropDown[0]

//+ Condition1: ListField("$Node1","textselected","DELETE EXISTING PA")

//+ ActionName: DropDown.change.DeletePA

if ($.boundItem(xfa.event.newText) == "DELETE EXISTING PA") {

  this.resolveNode("PAForm").presence = "hidden";

  this.resolveNode("DeletePAForm").presence = "visible";

  this.resolveNode("Non-PAForm").presence = "hidden";

  this.resolveNode("ChangePAForm").presence = "hidden";

}

//-

//+ GENERATED - DO NOT EDIT (ID:66B7091F-75C5-4A73-8ACA-885AE42D0308 CRC:2169512649)

//+ Type: Action

//+ Result4: SetPresence("$Node5","visible")

//+ Result3: SetPresence("$Node4","hidden")

//+ Result2: SetPresence("$Node3","hidden")

//+ Result1: SetPresence("$Node2","hidden")

//+ Node5: form1[0].ChangePAForm[0]

//+ Node4: form1[0].Non-PAForm[0]

//+ Node3: form1[0].DeletePAForm[0]

//+ Node2: form1[0].PAForm[0]

//+ Node1: form1[0].#pageSet[0].MasterPage1[0].FormActionDropDown[0]

//+ Condition1: ListField("$Node1","textselected","CHANGE / MODIFY EXISTING PA")

//+ ActionName: DropDown.change.ChangePa

if ($.boundItem(xfa.event.newText) == "CHANGE / MODIFY EXISTING PA") {

  this.resolveNode("PAForm").presence = "hidden";

  this.resolveNode("DeletePAForm").presence = "hidden";

  this.resolveNode("Non-PAForm").presence = "hidden";

  this.resolveNode("ChangePAForm").presence = "visible";

}

//-

//+ GENERATED - DO NOT EDIT (ID:C87B58DB-765D-426C-81BB-5A7ECFF42B63 CRC:2949030955)

//+ Type: Action

//+ Result4: SetPresence("$Node5","hidden")

//+ Result3: SetPresence("$Node4","hidden")

//+ Result2: SetPresence("$Node3","hidden")

//+ Result1: SetPresence("$Node2","visible")

//+ Node5: form1[0].ChangePAForm[0]

//+ Node4: form1[0].Non-PAForm[0]

//+ Node3: form1[0].DeletePAForm[0]

//+ Node2: form1[0].PAForm[0]

//+ Node1: form1[0].#pageSet[0].MasterPage1[0].FormActionDropDown[0]

//+ Condition1: ListField("$Node1","textselected","CREATE NEW PA")

//+ ActionName: DropDown.change.NewPA

if ($.boundItem(xfa.event.newText) == "CREATE NEW PA") {

  this.resolveNode("PAForm").presence = "visible";

  this.resolveNode("DeletePAForm").presence = "hidden";

  this.resolveNode("Non-PAForm").presence = "hidden";

  this.resolveNode("ChangePAForm").presence = "hidden";

}

0 Replies